gnome-screensaver r1550 - in trunk: . src
- From: mccann svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-screensaver r1550 - in trunk: . src
- Date: Thu, 13 Nov 2008 19:13:26 +0000 (UTC)
Author: mccann
Date: Thu Nov 13 19:13:26 2008
New Revision: 1550
URL: http://svn.gnome.org/viewvc/gnome-screensaver?rev=1550&view=rev
Log:
2008-11-13 William Jon McCann <jmccann redhat com>
* src/gs-lock-plug.c (create_page_one):
Don't crash when we can't load the glade theme file.
Fixes #555254
Modified:
trunk/ChangeLog
trunk/src/gs-lock-plug.c
Modified: trunk/src/gs-lock-plug.c
==============================================================================
--- trunk/src/gs-lock-plug.c (original)
+++ trunk/src/gs-lock-plug.c Thu Nov 13 19:13:26 2008
@@ -1498,7 +1498,6 @@
static void
create_page_one (GSLockPlug *plug)
{
- GtkWidget *password_label;
GtkWidget *align;
GtkWidget *vbox;
GtkWidget *vbox2;
@@ -1543,14 +1542,14 @@
hbox = gtk_hbox_new (FALSE, 6);
gtk_box_pack_start (GTK_BOX (vbox2), hbox, FALSE, FALSE, 0);
- password_label = gtk_label_new_with_mnemonic (_("_Password:"));
- gtk_misc_set_alignment (GTK_MISC (password_label), 0, 0.5);
- gtk_box_pack_start (GTK_BOX (hbox), password_label, FALSE, FALSE, 0);
+ plug->priv->auth_prompt_label = gtk_label_new_with_mnemonic (_("_Password:"));
+ gtk_misc_set_alignment (GTK_MISC (plug->priv->auth_prompt_label), 0, 0.5);
+ gtk_box_pack_start (GTK_BOX (hbox), plug->priv->auth_prompt_label, FALSE, FALSE, 0);
plug->priv->auth_prompt_entry = gtk_entry_new ();
gtk_box_pack_start (GTK_BOX (hbox), plug->priv->auth_prompt_entry, TRUE, TRUE, 0);
- gtk_label_set_mnemonic_widget (GTK_LABEL (password_label),
+ gtk_label_set_mnemonic_widget (GTK_LABEL (plug->priv->auth_prompt_label),
plug->priv->auth_prompt_entry);
plug->priv->auth_capslock_label = gtk_label_new ("");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]