Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
xfce4-power-manager
xfce4-power-manager-fix-help.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xfce4-power-manager-fix-help.patch of Package xfce4-power-manager
Index: xfce4-power-manager-1.2.0/settings/xfpm-settings.c =================================================================== --- xfce4-power-manager-1.2.0.orig/settings/xfpm-settings.c +++ xfce4-power-manager-1.2.0/settings/xfpm-settings.c @@ -1617,7 +1617,7 @@ static void dialog_response_cb (GtkDialo switch(response) { case GTK_RESPONSE_HELP: - xfpm_help(); + xfce_dialog_show_help (GTK_WINDOW (dialog), "xfce4-power-manager", "preferences", NULL); break; default: settings_quit (GTK_WIDGET (dialog), channel); Index: xfce4-power-manager-1.2.0/src/xfpm-power.c =================================================================== --- xfce4-power-manager-1.2.0.orig/src/xfpm-power.c +++ xfce4-power-manager-1.2.0/src/xfpm-power.c @@ -470,6 +470,12 @@ xfpm_power_presentation_mode_cb (XfpmPow } static void +xfpm_power_help_cb (GtkMenuItem *menuitem, gpointer user_data) +{ + xfce_dialog_show_help (NULL, "xfce4-power-manager", NULL, NULL); +} + +static void xfpm_power_show_tray_menu (XfpmPower *power, GtkStatusIcon *icon, guint button, @@ -585,7 +591,7 @@ xfpm_power_show_tray_menu (XfpmPower *po mi = gtk_image_menu_item_new_from_stock (GTK_STOCK_HELP, NULL); gtk_widget_set_sensitive (mi, TRUE); gtk_widget_show (mi); - g_signal_connect (mi, "activate", G_CALLBACK (xfpm_help), NULL); + g_signal_connect (mi, "activate", G_CALLBACK (xfpm_power_help_cb), NULL); gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi); Index: xfce4-power-manager-1.2.0/Makefile.am =================================================================== --- xfce4-power-manager-1.2.0.orig/Makefile.am +++ xfce4-power-manager-1.2.0/Makefile.am @@ -11,8 +11,7 @@ SUBDIRS = \ src \ settings \ $(plugins_dir) \ - po \ - doc + po EXTRA_DIST = \ @@ -41,9 +40,6 @@ dist-hook: ChangeLog distclean-local: rm -rf *.cache -html: Makefile - make -C doc html - dist-bz2: dist zcat $(PACKAGE)-$(VERSION).tar.gz | \ bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2 Index: xfce4-power-manager-1.2.0/configure.ac =================================================================== --- xfce4-power-manager-1.2.0.orig/configure.ac +++ xfce4-power-manager-1.2.0/configure.ac @@ -240,10 +240,6 @@ data/icons/scalable/Makefile data/icons/scalable/status/Makefile data/icons/scalable/actions/Makefile data/interfaces/Makefile -doc/Makefile -doc/C/Makefile -doc/C/xfce4-power-manager.xml -doc/C/images/Makefile po/Makefile.in ])
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