summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Fix linking with pedantic linkers2.91.91.1Matthias Clasen2011-03-081-1/+2
|
* Return 0 on successMatthias Clasen2011-03-081-1/+1
| | | | Booleans and exist status don't go together well...
* gnome-session-check-accelerated: Set X property _GNOME_SESSION_ACCELERATEDColin Walters2011-03-033-6/+120
| | | | | | | | | | | | | | | | It would make sense to run gnome-session-is-accelerated in GDM, in parallel with the user is typing their password. A good way to pass that knowledge through to gnome-session so it knows it can avoid repeating the same check is via an X property. So create a new tool "gnome-session-check-accelerated", which takes the name of the old one (now renamed "gnome-session-check-accelerated-helper") and stores that status as an X property. gnome-session will then itself run it again, but it should pick up the property and reuse that value. https://bugzilla.gnome.org/show_bug.cgi?id=641992
* rename gnome-session-save to gnome-session-quitWilliam Jon McCann2011-02-242-102/+24
| | | | Is much less misleading since it doesn't save anything.
* tools: Do not consider Gallium's softpipe and llvmpipe as acceleratedVincent Untz2011-01-141-2/+5
| | | | | | | | | Those are software renderers too. It might be that llvmpipe gets good enough in the future, but it's not the case at the moment. Based on patch from Matthias Clasen <mclasen@redhat.com>. https://bugzilla.gnome.org/show_bug.cgi?id=639490
* build: don't forget to link gnome-session-is-accelerated to XlibCosimo Cecchi2010-11-301-1/+2
|
* tools: Add a gnome-session-is-accelerated helper toolVincent Untz2010-11-292-6/+312
| | | | | This small tool does various checks, and it will be used to know if we can run GNOME Shell or not.
* build: Update all Makefile.am to more recent standardsVincent Untz2010-09-201-7/+8
|
* Use git.mk from pango to autogenerate .gitignore filesVincent Untz2009-05-021-0/+2
|
* make gnome-session-save --kill --silent work as --force-logout (noVincent Untz2009-04-101-1/+1
| | | | | | | | | | 2009-04-10 Vincent Untz <vuntz@gnome.org> * tools/gnome-session-save.c: (main): make gnome-session-save --kill --silent work as --force-logout (no inhibitor dialog). Fix bug #574982. svn path=/trunk/; revision=5384
* hide deprecated command-line options from --help, but still accept them.Vincent Untz2009-03-251-6/+5
| | | | | | | | | | 2009-03-25 Vincent Untz <vuntz@gnome.org> * tools/gnome-session-save.c: hide deprecated command-line options from --help, but still accept them. (main): return 0 instead of a variable that is always set to 0 svn path=/trunk/; revision=5364
* use a Close button instead of an Ok button in error dialogs. If consideredVincent Untz2009-02-261-1/+2
| | | | | | | | | | | 2009-02-26 Vincent Untz <vuntz@gnome.org> * capplet/gsm-properties-dialog.c: (edit_app_dialog): * tools/gnome-session-save.c: (display_error): use a Close button instead of an Ok button in error dialogs. If considered an UI change, then it's trivial and it doesn't affect documentation. svn path=/trunk/; revision=5300
* Bug 566858 – configure script does not check for sm package (needed toLucas Rocha2009-01-081-1/+2
| | | | | | | | | | | | | 2009-01-08 Lucas Rocha <lucasr@gnome.org> Bug 566858 – configure script does not check for sm package (needed to check X11/SM/SMlib.h) * configure.am, gnome-session/Makefile.am, egg/Makefile.am, tools/Makefile.am: check for sm and ice libs through pkgconfig and use it in the build. svn path=/trunk/; revision=5177
* remove TIME_UTILITY and GNOME_SESSION_TARBALL_* since it's unused, useVincent Untz2008-12-101-0/+1
| | | | | | | | | | | | | | | | | | | | | 2008-12-10 Vincent Untz <vuntz@gnome.org> * configure.in: remove TIME_UTILITY and GNOME_SESSION_TARBALL_* since it's unused, use GNOME_COMPILE_WARNINGS instead of some custom stuff to define compiler warning flags * capplet/Makefile.am: * compat/Makefile.am: * egg/Makefile.am: * gnome-session/Makefile.am: * splash/Makefile.am: * tools/Makefile.am: add WARN_CFLAGS/DISABLE_DEPRECATED_CFLAGS * gnome-session/gsm-inhibit-dialog.c: (add_inhibitor): fix compilation warning * splash/splash-window.c: (splash_window_expose_event): don't use deprecated API (splash_window_finalize): don't unref something we don't own svn path=/trunk/; revision=5164
* Format specifier warning fix. Add GCONF_LIBS/GCONF_CFLAGS. FormatKjartan Maraas2008-11-101-1/+1
| | | | | | | | | | | | 2008-11-10 Kjartan Maraas <kmaraas@gnome.org> * gnome-session/gsm-util.c: (gsm_util_init_error): Format specifier warning fix. * splash/Makefile.am: Add GCONF_LIBS/GCONF_CFLAGS. * tools/gnome-session-save.c: (display_error): Format specifiers again. svn path=/trunk/; revision=5146
* rename kill variable to kill_session to avoid conflict with kill(2).Frederic Peters2008-09-291-4/+4
| | | | | | | | * tools/gnome-session-save.c: (main): rename kill variable to kill_session to avoid conflict with kill(2). Fixes: #554202. svn path=/trunk/; revision=5128
* Add --logout, --force-logout, --logout-dialog and --shutdown-dialogVincent Untz2008-09-011-63/+123
| | | | | | | | | | | | | | | | | | | | | | 2008-09-01 Vincent Untz <vuntz@gnome.org> Add --logout, --force-logout, --logout-dialog and --shutdown-dialog arguments to gnome-session-save, and deprecate --kill. This will make things less ambiguous. * tools/gnome-session-save.c: rename some variables (display_error): updated (get_sm_proxy): call get_session_bus() from there, since it simplifies code elsewhere (set_session_name): updated (do_logout): renamed from logout_session(), and simplified. Also add a mode argument for the logout dbus method. (do_shutdown_dialog): new (main): updated for new options * doc/man/gnome-session-save.1: update man page Fix bug #550211. svn path=/trunk/; revision=5029
* Fix some warnings from sparse and other tools. Closes bug #521413Kjartan Maraas2008-08-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-16 Kjartan Maraas <kmaraas@gnome.org> * capplet/gsm-app-dialog.c: * egg/eggdesktopfile.h: * egg/eggsmclient-libgnomeui.c: (egg_sm_client_module_info_get): * egg/eggsmclient-xsmp.c: * gnome-session/gsm-autostart-app.c: * gnome-session/gsm-client.c: * gnome-session/gsm-client.h: * gnome-session/gsm-dbus-client.c: * gnome-session/gsm-inhibit-dialog.c: (add_inhibitor): * gnome-session/gsm-inhibit-dialog.h: * gnome-session/gsm-inhibitor.c: * gnome-session/gsm-inhibitor.h: * gnome-session/gsm-manager.c: * gnome-session/gsm-store.c: * gnome-session/gsm-util.c: * gnome-session/gsm-xsmp-client.c: * gnome-session/gsm-xsmp-server.c: * gnome-session/test-inhibit.c: * tools/gnome-session-save.c: Fix some warnings from sparse and other tools. Closes bug #521413 svn path=/trunk/; revision=4964
* Melt the gnome-session-save tool and make it actually work. Fix the apiWilliam Jon McCann2008-08-081-132/+82
| | | | | | | | | | | | | | | | 2008-08-08 William Jon McCann <jmccann@redhat.com> * gnome-session/gsm-manager.c (gsm_manager_error_get_type), (gsm_manager_logout): * gnome-session/gsm-manager.h: * gnome-session/org.gnome.SessionManager.xml: * tools/gnome-session-save.c (display_error), (get_sm_proxy), (set_session_name), (logout_session), (main): Melt the gnome-session-save tool and make it actually work. Fix the api for Logout to take a uint. svn path=/trunk/; revision=4928
* Some cosmetic / code-style changes requested by Lucas.William Jon McCann2008-08-041-156/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-04 William Jon McCann <jmccann@redhat.com> * capplet/commands.c (system_desktop_entry_exists), (find_by_id), (ensure_user_autostart_dir), (key_file_to_file), (key_file_set_locale_string), (delete_desktop_file), (write_desktop_file), (append_app), (compare_app), (append_autostart_apps), (spc_command_get_store), (spc_command_enable_app), (spc_command_disable_app), (spc_command_add_app): * capplet/main.c (main): * capplet/ui.c (make_exec_uri), (cmd_browse_button_clicked_cb), (entry_activate_cb), (edit_app_dialog), (selection_changed_cb), (startup_enabled_toggled_cb), (add_from_desktop_file), (drag_data_cb), (setup_treeview), (add_app_cb), (delete_app_cb), (edit_app_cb), (autosave_value_notify), (autosave_value_toggled), (help_cb): * compat/at-spi-registryd-wrapper.c (registry_ior_watch), (set_gtk_modules), (main): * compat/gnome-keyring-daemon-wrapper.c (keyring_daemon_stop), (child_setup), (keyring_daemon_start), (quit), (main): * compat/gnome-settings-daemon-helper.c (set_gtk1_theme_rcfile): * gnome-session/gsm-gconf.c (gsm_gconf_init), (gsm_gconf_check), (gsm_gconf_shutdown): * gnome-session/gsm-util.c (gsm_util_get_autostart_dirs), (gsm_util_get_app_dirs), (gsm_util_text_is_blank), (gsm_util_init_error), (gsm_util_generate_startup_id), (gsm_util_update_activation_environment), (gsm_util_setenv): * splash/gnome-login-sound.c (get_sound_file_from_config), (get_sound_file), (maybe_play_sound): * splash/gnome-session-splash.c (get_session_bus), (set_session_running_handler), (event_func), (splash_clicked), (filter_func), (load_pixbuf), (load_splash_pixbuf), (main): * splash/splash-window.c (re_scale), (splash_window_expose_event), (splash_window_realize), (splash_icon_destroy), (splash_window_finalize), (layout_icon), (re_laydown), (update_trans_effect), (gsm_splash_window_new), (gsm_splash_window_start), (gsm_splash_window_finish): * tools/gnome-session-save.c (ping_reply), (ice_ping), (die_cb), (cancelled_cb), (display_error), (ice_connection_watch), (get_session_bus), (set_session_name), (main): Some cosmetic / code-style changes requested by Lucas. svn path=/trunk/; revision=4905
* Port gnome-session-save tool to new code base.Lucas Rocha2008-05-162-0/+300
2008-05-17 Lucas Rocha <lucasr@gnome.org> Port gnome-session-save tool to new code base. * tools/gnome-session-save.c: tool source code. * configure.in, Makefile.am, tools/Makefile.am: add tools to build. * gnome-session/org.gnome.SessionManagement.xml, gnome-session/dbus.c (gsm_dbus_server_set_name): new SetName D-Bus method which should be used to set the name of current session. * gnome-session/session.[ch] (gsm_session_set_name): new GsmSession method for setting session name. svn path=/trunk/; revision=4692