Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP5
gsynaptics
gsynaptics-icon.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gsynaptics-icon.patch of Package gsynaptics
Index: gsynaptics-0.9.15/data/Makefile.am =================================================================== --- gsynaptics-0.9.15.orig/data/Makefile.am +++ gsynaptics-0.9.15/data/Makefile.am @@ -1,8 +1,5 @@ @INTLTOOL_DESKTOP_RULE@ -appicondir = $(datadir)/pixmaps -appicon_DATA = touchpad.png - desktopdir = $(datadir)/applications Desktop_in_files = gsynaptics.desktop.in desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop) Index: gsynaptics-0.9.15/data/gsynaptics-init.desktop =================================================================== --- gsynaptics-0.9.15.orig/data/gsynaptics-init.desktop +++ gsynaptics-0.9.15/data/gsynaptics-init.desktop @@ -22,7 +22,7 @@ Comment[pl]=Ustaw Twoje preferencje touc Comment[zh_CN]=设置触摸板首选项 Comment[zh_TW]=設定您的觸控板使用偏好 Exec=gsynaptics-init --sm-disable -Icon=touchpad +Icon=gsynaptics Terminal=false Type=Application Categories= Index: gsynaptics-0.9.15/data/gsynaptics.desktop =================================================================== --- gsynaptics-0.9.15.orig/data/gsynaptics.desktop +++ gsynaptics-0.9.15/data/gsynaptics.desktop @@ -22,7 +22,7 @@ Comment[pl]=Ustaw Twoje preferencje touc Comment[zh_CN]=设置触摸板首选项 Comment[zh_TW]=設定您的觸控板使用偏好 Exec=gsynaptics -Icon=touchpad +Icon=gsynaptics Terminal=false Type=Application StartupNotify=true Index: gsynaptics-0.9.15/src/main.c =================================================================== --- gsynaptics-0.9.15.orig/src/main.c +++ gsynaptics-0.9.15/src/main.c @@ -527,12 +527,10 @@ cb_max_speed_change (GtkRange *range, Gt static void setup_dialog (GladeXML *dialog) { - GdkPixbuf *icon_pixbuf = NULL; GtkWidget *widget, *button; GtkWidget *check, *scale; GSynaptics *synaptics; - gchar *path; gboolean value; gint num; @@ -690,15 +688,7 @@ setup_dialog (GladeXML *dialog) gtk_window_set_default_size (GTK_WINDOW (widget), 400, -1); - path = g_build_filename (DATADIR "/pixmaps", "touchpad.png", NULL); - if (path) - { - icon_pixbuf = gdk_pixbuf_new_from_file (path, NULL); - gtk_window_set_icon (GTK_WINDOW (widget), icon_pixbuf); - g_free (path); - if (icon_pixbuf) - g_object_unref (icon_pixbuf); - } + gtk_window_set_icon_name (GTK_WINDOW (widget), "gsynaptics"); gtk_widget_show_all (widget); } Index: gsynaptics-0.9.15/data/gsynaptics-init.desktop.in.in =================================================================== --- gsynaptics-0.9.15.orig/data/gsynaptics-init.desktop.in.in +++ gsynaptics-0.9.15/data/gsynaptics-init.desktop.in.in @@ -3,7 +3,7 @@ Encoding=UTF-8 _Name=Touchpad _Comment=Set your touchpad preferences Exec=gsynaptics-init --sm-disable -Icon=touchpad +Icon=gsynaptics Terminal=false Type=Application Categories= Index: gsynaptics-0.9.15/data/gsynaptics.desktop.in.in =================================================================== --- gsynaptics-0.9.15.orig/data/gsynaptics.desktop.in.in +++ gsynaptics-0.9.15/data/gsynaptics.desktop.in.in @@ -3,7 +3,7 @@ Encoding=UTF-8 _Name=Touchpad _Comment=Set your touchpad preferences Exec=gsynaptics -Icon=touchpad +Icon=gsynaptics Terminal=false Type=Application StartupNotify=true
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor