summaryrefslogtreecommitdiff
path: root/gui
Commit message (Collapse)AuthorAgeFilesLines
* reset check_idle_id tag to 0 after idle completes, which is the other halfRay Strode2008-05-121-0/+1
| | | | | | | | | | | | | 2008-05-12 Ray Strode <rstrode@redhat.com> * gui/simple-greeter/gdm-option-widget.c: (gdm_option_widget_check_visibility): reset check_idle_id tag to 0 after idle completes, which is the other half of the "Don't erroneously hide language option widget on new installs" fix from two commits ago svn path=/trunk/; revision=6230
* Don't erroneously hide language option widget on new installs. (Patch fromRay Strode2008-05-101-7/+3
| | | | | | | | | | | 2008-05-10 Ray Strode <rstrode@redhat.com> * gui/simple-greeter/gdm-option-widget.c (gdm_option_widget_check_visibility): Don't erroneously hide language option widget on new installs. (Patch from Matthias) svn path=/trunk/; revision=6228
* Add a GConf key for not showing normal users in the user list.Matthias Clasen2008-05-082-0/+41
| | | | svn path=/trunk/; revision=6225
* Fix _ or - mixup in gconf key name.William Jon McCann2008-05-081-1/+1
| | | | | | | | | | 2008-05-07 William Jon McCann <jmccann@redhat.com> * gui/simple-greeter/gdm-greeter-panel.c: Fix _ or - mixup in gconf key name. svn path=/trunk/; revision=6223
* Fix a typo and some style/whitespace issues.William Jon McCann2008-05-064-122/+127
| | | | | | | | | | | | 2008-05-06 William Jon McCann <jmccann@redhat.com> * gui/simple-greeter/gdm-layouts.c (gdm_get_layout_from_name), (gdm_get_all_layout_names), (gdm_layout_activate): * gui/simple-greeter/gdm-layouts.h: Fix a typo and some style/whitespace issues. svn path=/trunk/; revision=6219
* Don't translate widget labels.Kjartan Maraas2008-05-062-2/+2
| | | | | | | | | | 2008-05-06 Kjartan Maraas <kmaraas@gnome.org> * gui/simple-greeter/gdm-a11y-preferences-dialog.glade: * gui/simple-greeter/gdm-greeter-login-window.glade: Don't translate widget labels. svn path=/trunk/; revision=6218
* Add a keyboard chooserMatthias Clasen2008-05-0514-0/+1250
| | | | svn path=/trunk/; revision=6212
* prepare for release.William Jon McCann2008-05-012-2/+4
| | | | | | | | | | | | | | | | | | | 2008-05-01 William Jon McCann <jmccann@redhat.com> * NEWS: * configure.ac: prepare for release. * daemon/main.c (bus_reconnect), (bus_proxy_destroyed_cb), (main): Try to fix a crash at shutdown. * gui/simple-greeter/gdm-greeter-login-window.c (do_system_restart), (do_system_stop): * gui/simple-greeter/test-greeter-login-window.c: Fix some warnings. svn path=/trunk/; revision=6197
* Use new ConsoleKit error format. Patch from: Matthias ClasenWilliam Jon McCann2008-05-011-2/+80
| | | | | | | | | | | | | 2008-05-01 William Jon McCann <jmccann@redhat.com> * gui/simple-greeter/gdm-greeter-login-window.c (get_action_from_error), (get_result_from_error), (do_system_restart), (do_system_stop): Use new ConsoleKit error format. Patch from: Matthias Clasen <mclasen@redhat.com> svn path=/trunk/; revision=6196
* Don't show Session selector if only one session availableRay Strode2008-05-011-2/+39
| | | | | | | | | | | | 2008-04-30 Ray Strode <rstrode@redhat.com> * gui/simple-greeter/gdm-option-widget.c (gdm_option_widget_check_visibility): (gdm_option_widget_queue_visibility_check), (check_item_visibility), (gdm_option_widget_init): Don't show Session selector if only one session available svn path=/trunk/; revision=6195
* automatically pop up language/session combos when mnemonic is pressed.Ray Strode2008-05-011-2/+16
| | | | | | | | | | | | | 2008-04-30 Ray Strode <rstrode@redhat.com> * gui/simple-greeter/gdm-option-widget.c (gdm_option_widget_mnemonic_activate): (gdm_option_widget_class_init), (gdm_option_widget_init): automatically pop up language/session combos when mnemonic is pressed. svn path=/trunk/; revision=6194
* hide separator after completing shrink animationRay Strode2008-04-301-0/+2
| | | | | | | | | | 2008-04-29 Ray Strode <rstrode@redhat.com> * gui/simple-greeter/gdm-chooser-widget.c (on_shrink_animation_complete): hide separator after completing shrink animation svn path=/trunk/; revision=6189
* Remove User: label for now. Looks a bit cleaner and I think we should beWilliam Jon McCann2008-04-301-2/+0
| | | | | | | | | | | | 2008-04-29 William Jon McCann <jmccann@redhat.com> * gui/simple-greeter/gdm-user-chooser-widget.c: (gdm_user_chooser_widget_new): Remove User: label for now. Looks a bit cleaner and I think we should be fine with tab focusing. svn path=/trunk/; revision=6188
* Desensitize the power buttons for one second after switching tabs to helpWilliam Jon McCann2008-04-291-2/+67
| | | | | | | | | | | | | | | 2008-04-29 William Jon McCann <jmccann@redhat.com> * gui/simple-greeter/gdm-greeter-login-window.c: (sensitize_widget), (remove_sensitize_power_buttons_timeout), (sensitize_power_buttons_timeout), (add_sensitize_power_buttons_timeout), (switch_mode), (gdm_greeter_login_window_finalize): Desensitize the power buttons for one second after switching tabs to help prevent accidently clicking them. svn path=/trunk/; revision=6185
* Fix style a bit.William Jon McCann2008-04-291-9/+14
| | | | | | | | | | 2008-04-29 William Jon McCann <jmccann@redhat.com> * gui/simple-greeter/gdm-greeter-login-window.c: (can_suspend): Fix style a bit. svn path=/trunk/; revision=6184
* Don't unconditionally set debugging in the greeter. Now we'll enable it ifWilliam Jon McCann2008-04-292-1/+31
| | | | | | | | | | | | | 2008-04-29 William Jon McCann <jmccann@redhat.com> * gui/simple-greeter/gdm-simple-greeter.schemas.in: * gui/simple-greeter/greeter-main.c: (is_debug_set), (main): Don't unconditionally set debugging in the greeter. Now we'll enable it if a gconf key is set or we are using an unstable build. svn path=/trunk/; revision=6182
* Show a wait cursor while populating the language list, since this can takeMatthias Clasen2008-04-291-0/+11
| | | | | | | | | | | 2008-04-29 Matthias Clasen <mclasen@redhat.com> * gui/simple-greeter/gdm-language-chooser-dialog.c (gdm_language_chooser_dialog_realize): Show a wait cursor while populating the language list, since this can take a while, initially. svn path=/trunk/; revision=6180
* Don't set an explicit cursor, just go back to the parent cursor.Matthias Clasen2008-04-291-5/+1
| | | | | | | | | | 2008-04-29 Matthias Clasen <mclasen@redhat.com> * gui/simple-greeter/gdm-greeter-login-window.c (set_ready): Don't set an explicit cursor, just go back to the parent cursor. svn path=/trunk/; revision=6179
* If the user types while an animation is going on, keep track of what theyRay Strode2008-04-295-1/+74
| | | | | | | | | | | | | | | | | | | | 2008-04-28 Ray Strode <rstrode@redhat.com> * gui/simple-greeter/gdm-scrollable-widget.[ch]: (on_key_event), (gdm_scrollable_redirect_input_to_event_sink), (gdm_scrollable_unredirect_input), (gdm_scrollable_widget_finalize), (gdm_scrollable_widget_add_invisible_event_sink), (gdm_scrollable_widget_has_queued_key_events), (gdm_scrollable_widget_replay_queued_key_events): * gui/simple-greeter/gdm-greeter-login-window.c: (reset_dialog), (gdm_greeter_login_window_info_query), (gdm_greeter_login_window_secret_info_query), * gui/simple-greeter/gdm-chooser-widget.[ch]: (gdm_chooser_widget_propagate_pending_key_events): If the user types while an animation is going on, keep track of what they are typing and replay it at the end of the animation. svn path=/trunk/; revision=6178
* Make sure we update the visibility of hidden items once those usersWilliam Jon McCann2008-04-281-26/+30
| | | | | | | | | | | | | 2008-04-28 William Jon McCann <jmccann@redhat.com> * gui/user-switch-applet/applet.c: (update_user_item_visibility), (on_user_sessions_changed), (add_user), (on_manager_user_added), (on_manager_user_is_logged_in_changed), (fill_applet): Make sure we update the visibility of hidden items once those users actually log in. svn path=/trunk/; revision=6175
* Make animation fasterRay Strode2008-04-281-1/+1
| | | | | | | | | | 2008-04-28 Ray Strode <rstrode@redhat.com> * gui/simple-greeter/gdm-scrollable-widget.c (gdm_scrollable_widget_start): Make animation faster svn path=/trunk/; revision=6174
* New function to ask g-p-m if it thinks that suspend works. (switch_mode):Matthias Clasen2008-04-281-1/+38
| | | | | | | | | | | | 2008-04-28 Matthias Clasen <mclasen@redhat.com> * gui/simple-greeter/gdm-greeter-login-window.c (can_suspend): New function to ask g-p-m if it thinks that suspend works. (switch_mode): Use can_suspend to figure out if the suspend button should be shown. svn path=/trunk/; revision=6173
* Make the "Accessibility Preferences" button accessible.Matthias Clasen2008-04-261-0/+5
| | | | | | | | | | | | 2008-04-26 Matthias Clasen <mclasen@redhat.com> * gui/simple-greeter/gdm-greeter-panel.c (gdm_greeter_panel_init): Make the "Accessibility Preferences" button accessible. svn path=/trunk/; revision=6172
* fix typo in last patchRay Strode2008-04-241-1/+1
| | | | | | | | | | 2008-04-24 Ray Strode <rstrode@redhat.com> * gui/simple-greeter/gdm-chooser-widget.c (update_separator_visiblity): fix typo in last patch svn path=/trunk/; revision=6170
* don't show separator when shrunkRay Strode2008-04-241-1/+2
| | | | | | | | | | 2008-04-24 Ray Strode <rstrode@redhat.com> * gui/simple-greeter/gdm-chooser-widget.c (update_separator_visibility): don't show separator when shrunk svn path=/trunk/; revision=6169
* Don't unconditionally show separator when showing all other inactive itemsRay Strode2008-04-211-29/+31
| | | | | | | | | | 2008-04-21 Ray Strode <rstrode@redhat.com> * gui/simple-greeter/gdm-chooser-widget.c (set_inactive_items_visible): Don't unconditionally show separator when showing all other inactive items svn path=/trunk/; revision=6166
* Add two new signals "users-loaded" and "loading-users" to signify when theRay Strode2008-04-215-0/+104
| | | | | | | | | | | | | | | | | | | | | | 2008-04-21 Ray Strode <rstrode@redhat.com> * gui/simple-greeter/gdm-user-manager.[hc]: (reload_users_timeout), (queue_reload_users), (gdm_user_manager_class_init): Add two new signals "users-loaded" and "loading-users" to signify when the user manager is doing its initial run through of available users * gui/simple-greeter/gdm-user-chooser-widget.c: (on_users_loaded), (gdm_user_chooser_widget_init) * gui/simple-greeter/gdm-chooser-widget.c: (get_first_item), (activate_if_one_item), (gdm_chooser_widget_add_item), (gdm_chooser_widget_remove_item), (gdm_chooser_widget_get_number_of_items), (gdm_chooser_widget_activate_on_one_item): Activate the "Other..." user automatically if it's the only available user svn path=/trunk/; revision=6165
* Check for tranlations in name_TERRITORY in addition toRay Strode2008-04-181-0/+1
| | | | | | | | | | | 2008-04-18 Ray Strode <rstrode@@redhat.com> * gui/simple-greeter/gdm-languages.c: (add_locale): Check for tranlations in name_TERRITORY in addition to name_TERRITORY.encoding and name svn path=/trunk/; revision=6162
* Turn off media-keys until we get lock down for them figured out.Ray Strode2008-04-181-1/+1
| | | | | | | | | | 2008-04-18 Ray Strode <rstrode@redhat.com> * gui/simple-greeter/gdm-simple-greeter.schemas.in: Turn off media-keys until we get lock down for them figured out. svn path=/trunk/; revision=6160
* Add missing priorities for plugins.William Jon McCann2008-04-181-0/+55
| | | | | | | | | | 2008-04-17 William Jon McCann <jmccann@redhat.com> * gui/simple-greeter/gdm-simple-greeter.schemas.in: Add missing priorities for plugins. svn path=/trunk/; revision=6159
* Turn on media-keys.William Jon McCann2008-04-181-0/+11
| | | | | | | | | | 2008-04-17 William Jon McCann <jmccann@redhat.com> * gui/simple-greeter/gdm-simple-greeter.schemas.in: Turn on media-keys. svn path=/trunk/; revision=6157
* Start orca without the main window and magnifierRay Strode2008-04-171-1/+1
| | | | | | | | | | | 2008-04-17 Ray Strode <rstrode@redhat.com> * gui/simple-greeter/gdm-greeter-session.c: (setup_at_tools): Start orca without the main window and magnifier svn path=/trunk/; revision=6156
* Disable search-ahead when chooser is shrunk. (clear_selection): drop focusRay Strode2008-04-161-0/+11
| | | | | | | | | | | | 2008-04-15 Ray Strode <rstrode@redhat.com> * gui/simple-greeter/gdm-chooser-widget.c: (on_shink_animation_complete), (on_grow_animation_complete), (skip_resize_animiation): Disable search-ahead when chooser is shrunk. (clear_selection): drop focus when clearing selection. svn path=/trunk/; revision=6155
* Use glib main loop directly instead of running gtk_main before we runWilliam Jon McCann2008-04-151-9/+16
| | | | | | | | | | | | 2008-04-15 William Jon McCann <jmccann@redhat.com> * gui/simple-greeter/greeter-main.c: (filter_watch), (filter_timeout), (assistive_registry_start): Use glib main loop directly instead of running gtk_main before we run gtk_init. svn path=/trunk/; revision=6153
* Make clicker logo thing at the top of the login window use an input-onlyRay Strode2008-04-141-0/+1
| | | | | | | | | | 2008-04-14 Ray Strode <rstrode@redhat.com> * gui/simple-greeter/gdm-greeter-login-window.glade: (computer-info-event-box): Make clicker logo thing at the top of the login window use an input-only window svn path=/trunk/; revision=6152
* Redo focus handling so that tabing out of the list worksRay Strode2008-04-111-3/+30
| | | | | | | | | | | | 2008-04-11 Ray Strode <rstrode@redhat.com> * gui/simple-greeter/gdm-chooser-widget.c (gdm_chooser_widget_grab_focus), (gdm_chooser_widget_focus), (gdm_chooser_widget_focus_in_event), (gdm_chooser_widget_class_init): Redo focus handling so that tabing out of the list works svn path=/trunk/; revision=6141
* Monitor ~/.face for changes.William Jon McCann2008-04-092-28/+117
| | | | | | | | | | | | | | 2008-04-09 William Jon McCann <jmccann@redhat.com> * gui/simple-greeter/gdm-user.c: (on_icon_monitor_changed), (update_icon_monitor), (gdm_user_finalize), (_gdm_user_update): * gui/user-switch-applet/applet.c: (gdm_applet_data_free), (reset_icon), (on_user_icon_changed), (setup_current_user), (fill_applet): Monitor ~/.face for changes. svn path=/trunk/; revision=6140
* Use an image menu item in the applet.William Jon McCann2008-04-091-38/+77
| | | | | | | | | | | | 2008-04-09 William Jon McCann <jmccann@redhat.com> * gui/user-switch-applet/applet.c: (set_item_text_angle_and_alignment), (applet_size_allocate_cb), (user_notify_display_name_cb), (reset_icon), (fill_applet): Use an image menu item in the applet. svn path=/trunk/; revision=6139
* When generating language list, use the list from libc as definitive, butRay Strode2008-04-091-6/+49
| | | | | | | | | | | | | | | | 2008-04-08 Ray Strode <rstrode@redhat.com> * gui/simple-greeter/gdm-languages.c: (language_name_has_translations), (add_locale), (collect_locales): When generating language list, use the list from libc as definitive, but prune from that list languages that lack translations in /usr/share/locale. Previously we were trying to figure out the list of available languages from the names in /usr/share/locale, but those names aren't specific enough to get a name from. svn path=/trunk/; revision=6138
* Make the language dialog look a little nicer initially. We won't be ableRay Strode2008-04-081-2/+16
| | | | | | | | | | | | | | | | | | 2008-04-07 Ray Strode <rstrode@redhat.com> * gui/simple-greeter/gdm-language-chooser-dialog.c (gdm_language_chooser_dialog_size_request), (gdm_language_chooser_dialog_realize), (gdm_language_chooser_dialog_class_init), (gdm_language_chooser_dialog_init): Make the language dialog look a little nicer initially. We won't be able to do better until we fix the scrollable widget to report it's minimum height in size_request unless a property is set to report it's maximum height (or until we make the language-chooser not depend on the scrollable widget) svn path=/trunk/; revision=6136
* drop the empty pixbuf and force a fixed width and height on the cellRay Strode2008-04-082-28/+5
| | | | | | | | | | | | | | | 2008-04-07 Ray Strode <rstrode@redhat.com> * gui/simple-greeter/gdm-user-chooser-widget.c (add_user_other), (add_user_auto), (gdm_user_chooser_widget_dispose), (get_empty_pixbuf): * gui/simple-greeter/gdm-chooser-widget.c (gdm_chooser_widget_init): drop the empty pixbuf and force a fixed width and height on the cell renderer instead svn path=/trunk/; revision=6135
* remove stale FIXMERay Strode2008-04-081-1/+0
| | | | | | | | | 2008-04-07 Ray Strode <rstrode@redhat.com> * gui/simple-greeter/gdm-greeter-login-window.c (switch_mode): remove stale FIXME svn path=/trunk/; revision=6134
* Drop icons for Other and Auto users for nowRay Strode2008-04-081-2/+27
| | | | | | | | | | | | 2008-04-07 Ray Strode <rstrode@redhat.com> * gui/simple-greeter/gdm-user-chooser-widget.c (add_user_other), (add_user_auto), (gdm_user_chooser_widget_dispose), (get_empty_pixbuf), (load_icons): Drop icons for Other and Auto users for now svn path=/trunk/; revision=6133
* Add a test program for session gatheringWilliam Jon McCann2008-04-082-0/+92
| | | | | | | | | | | 2008-04-07 William Jon McCann <jmccann@redhat.com> * gui/simple-greeter/Makefile.am: * gui/simple-greeter/test-sessions.c: (print_sessions), (main): Add a test program for session gathering svn path=/trunk/; revision=6131
* Fix bug where separator doesn't hide properly in language chooserRay Strode2008-04-081-23/+47
| | | | | | | | | | | | 2008-04-07 Ray Strode <rstrode@redhat.com> * gui/simple-greeter/gdm-chooser-widget.c (path_is_separator), (update_separator_visiblity), (clear_canceled_visibility_update): Fix bug where separator doesn't hide properly in language chooser svn path=/trunk/; revision=6129
* remove superfluous boilerplateRay Strode2008-04-081-15/+0
| | | | | | | | | | | 2008-04-07 Ray Strode <rstrode@redhat.com> * gui/simple-greeter/gdm-chooser-widget.c (gdm_chooser_widget_constructor), (gdm_chooser_widget_class_init): remove superfluous boilerplate svn path=/trunk/; revision=6128
* assume the caller is asking that we slide the child to the specifiedRay Strode2008-04-071-0/+3
| | | | | | | | | | | 2008-04-07 Ray Strode <rstrode@redhat.com> * gui/simple-greeter/gdm-scrollable-widget.c (gdm_scrollable_widget_slide_to_height): assume the caller is asking that we slide the child to the specified height, not the scrollable. svn path=/trunk/; revision=6125
* Initialize next_tick. Harden against timer getting stopped during firstRay Strode2008-04-071-1/+3
| | | | | | | | | | | 2008-04-07 Ray Strode <rstrode@redhat.com> * gui/simple-greeter/gdm-timer.c: (gdm_timer_start): Initialize next_tick. Harden against timer getting stopped during first tick svn path=/trunk/; revision=6124
* Track whether or not child allocations are out of date when determiningRay Strode2008-04-071-6/+21
| | | | | | | | | | | | | | | 2008-04-07 Ray Strode <rstrode@redhat.com> * gui/simple-greeter/gdm-scrollable-widget.c (struct GdmScrollableWidgetPrivate), (gdm_scrollable_widget_needs_scrollbar), (gdm_scrollable_widget_size_request), (gdm_scrollable_widget_size_allocate): Track whether or not child allocations are out of date when determining whether to show scrollbar. If they're stale we presume a scrollbar isn't needed. svn path=/trunk/; revision=6123
* Properly cancel grow animation when its reached its end early.Ray Strode2008-04-072-5/+17
| | | | | | | | | | | | | | | 2008-04-07 Ray Strode <rstrode@redhat.com> Properly cancel grow animation when its reached its end early. * gui/simple-greeter/gdm-chooser-widget.c (get_number_of_on_screen_rows): Fix off by one. * gui/simple-greeter/gdm-timer.c (do_tick), (on_tick_timeout), (gdm_timer_start): ref timer around animation tick in case timer gets stopped during tick. Don't queue another tick if timer is stopped svn path=/trunk/; revision=6122