libreoffice-main -> libreoffice-startcenter
to sync these names with the the .desktop names Change-Id: I1c4d8943e61b5ae537b865d5a9c3065894f200d7
This commit is contained in:
@@ -141,7 +141,7 @@ static void add_item( GtkMenuShell *pMenuShell, const char *pAsciiURL,
|
|||||||
else if (nResId == SV_ICON_ID_FORMULA)
|
else if (nResId == SV_ICON_ID_FORMULA)
|
||||||
appicon = g_strdup ("libreoffice-math");
|
appicon = g_strdup ("libreoffice-math");
|
||||||
else
|
else
|
||||||
appicon = g_strdup ("libreoffice-main");
|
appicon = g_strdup ("libreoffice-startcenter");
|
||||||
|
|
||||||
GtkWidget *pImage = gtk_image_new_from_icon_name (appicon, GTK_ICON_SIZE_MENU);
|
GtkWidget *pImage = gtk_image_new_from_icon_name (appicon, GTK_ICON_SIZE_MENU);
|
||||||
GtkWidget *pMenuItem = gtk_image_menu_item_new_with_label( aLabel.getStr() );
|
GtkWidget *pMenuItem = gtk_image_menu_item_new_with_label( aLabel.getStr() );
|
||||||
@@ -340,7 +340,7 @@ void plugin_init_sys_tray()
|
|||||||
|
|
||||||
pVCLResMgr = ResMgr::CreateResMgr("vcl");
|
pVCLResMgr = ResMgr::CreateResMgr("vcl");
|
||||||
|
|
||||||
pTrayIcon = gtk_status_icon_new_from_icon_name ("libreoffice-main");
|
pTrayIcon = gtk_status_icon_new_from_icon_name ("libreoffice-startcenter");
|
||||||
|
|
||||||
g_object_set (pTrayIcon, "title", aLabel.getStr(),
|
g_object_set (pTrayIcon, "title", aLabel.getStr(),
|
||||||
"tooltip_text", aLabel.getStr(), nullptr);
|
"tooltip_text", aLabel.getStr(), nullptr);
|
||||||
|
@@ -1472,7 +1472,7 @@ void GtkSalFrame::SetIcon( sal_uInt16 nIcon )
|
|||||||
else if (nIcon == SV_ICON_ID_FORMULA)
|
else if (nIcon == SV_ICON_ID_FORMULA)
|
||||||
appicon = g_strdup ("libreoffice-math");
|
appicon = g_strdup ("libreoffice-math");
|
||||||
else
|
else
|
||||||
appicon = g_strdup ("libreoffice-main");
|
appicon = g_strdup ("libreoffice-startcenter");
|
||||||
|
|
||||||
gtk_window_set_icon_name (GTK_WINDOW (m_pWindow), appicon);
|
gtk_window_set_icon_name (GTK_WINDOW (m_pWindow), appicon);
|
||||||
}
|
}
|
||||||
|
@@ -1376,7 +1376,7 @@ void GtkSalFrame::SetIcon( sal_uInt16 nIcon )
|
|||||||
else if (nIcon == SV_ICON_ID_FORMULA)
|
else if (nIcon == SV_ICON_ID_FORMULA)
|
||||||
appicon = g_strdup ("libreoffice-math");
|
appicon = g_strdup ("libreoffice-math");
|
||||||
else
|
else
|
||||||
appicon = g_strdup ("libreoffice-main");
|
appicon = g_strdup ("libreoffice-startcenter");
|
||||||
|
|
||||||
gtk_window_set_icon_name (GTK_WINDOW (m_pWindow), appicon);
|
gtk_window_set_icon_name (GTK_WINDOW (m_pWindow), appicon);
|
||||||
g_free (appicon);
|
g_free (appicon);
|
||||||
|
Reference in New Issue
Block a user