GNOME Bugzilla – Bug 619807
In external .gtkrc file for selected theme cannot be used styles for some of items in the lock window
Last modified: 2011-05-12 14:56:30 UTC
Created attachment 162087 [details] Mogehan Lock Dialog Theme converted to GTKBuilder engine Binary package hint: gnome-screensaver Since in new build of Gnome ScreenSaver was moved to using GtkBuilder some of fields on the lock dialog cannot be "styled" by external gtkrc file for selected theme. (Theme can be converted from Glide to GtkBuilder format by glade3 or gtkbuilder-convert utility) in the gtkrc file we have such strings (see full listing of file in the attached file): # Customize the widgets widget "*.auth-prompt-entry" style "textbox" widget "*.auth-prompt-label" style "promptlab" widget "*.auth-realname-label" style "username" widget "*.note-tab-label" style "username" widget "*.auth-username-label" style "pcnickname" widget "*.away-message-label" style "pcnickname" widget "*.auth-capslock-label" style "pcnickname" widget "*.auth-status-label" style "statusmsg" widget "*.auth-prompt-kbd-layout-indicator.*" style "hbox" widget "*.auth-prompt-kbd-frame" style "hbox" widget "*.auth-action-area.*" style :highest "label-black" widget "*.auth-note-area.*" style :highest "label-black" If we look on the lock dialog the styles will not applies. After invistigating the code I found that to use such ids in the gtkrc file we need to call gtk_widget_set_name() for each needed field. In the code such calling is not exists. (see http://library.gnome.org/devel/gtk/2.21/GtkWidget.html#gtk-widget-set-name) I try to make path for this but I'm not able to check the functionality after applying the path. Sorry. :) The sample of lock theme was also attached to defect. Since is the regression due to moving to new engine I think the status of this defect should High.
Created attachment 162095 [details] [review] Add capability to change style of some fields in lock dialog window via external gtkrc theme file
Created attachment 162098 [details] [review] Add capability to change style of some fields in lock dialog window via external gtkrc theme file Sorry have some typos in the names of fields ids
Verified the path. All working well.
Thanks for taking the time to report this bug. However, you are using a version that is too old and not supported anymore. GNOME developers are no longer working on that version, so unfortunately there will not be any bug fixes for the version that you use. By upgrading to a newer version of GNOME you could receive bug fixes and new functionality. You may need to upgrade your Linux distribution to obtain a newer version of GNOME. Please feel free to reopen this bug if the problem still occurs with a newer version of GNOME.
I see that in the revision from 30.06.2010 @ 22:05 this feature was removed at all. Could you please comment this phrase "It is better to integrate with GDM and the shell instead.", we mean that this will be support by gdm or what? Thanks, Vladimir