SHA256
1
0
forked from pool/gdm

Accepting request 44873 from home:vuntz:branches:GNOME:Factory

Copy from home:vuntz:branches:GNOME:Factory/gdm via accept of submit request 44873 revision 3.
Request was accepted with message:
ok

OBS-URL: https://build.opensuse.org/request/show/44873
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gdm?expand=0&rev=135
This commit is contained in:
Vincent Untz 2010-08-08 05:25:41 +00:00 committed by Git OBS Bridge
parent 9a89393a30
commit a6ba424bba
7 changed files with 233 additions and 301 deletions

View File

@ -1,14 +0,0 @@
diff --git a/data/locale.alias b/data/locale.alias
new file mode 100644
index 0000000..7cabea6
--- a/dev/null
+++ b/data/locale.alias
@@ -0,0 +1,7 @@
+# You could insert none UTF-8 locales likes C, ja_JP.eucJP
+# The format is language label, space and locale name but
+# the language label is no longer used.
+#
+# This file will be removed in the future once gdm setup tool is generated.
+#
+#Unspecified C,POSIX

View File

@ -1,7 +1,7 @@
Index: gdm-2.31.2/daemon/gdm-session-direct.c Index: gdm-2.30.4/daemon/gdm-session-direct.c
=================================================================== ===================================================================
--- gdm-2.31.2.orig/daemon/gdm-session-direct.c --- gdm-2.30.4.orig/daemon/gdm-session-direct.c
+++ gdm-2.31.2/daemon/gdm-session-direct.c +++ gdm-2.30.4/daemon/gdm-session-direct.c
@@ -50,6 +50,8 @@ @@ -50,6 +50,8 @@
#include <dbus/dbus-glib.h> #include <dbus/dbus-glib.h>
#include <dbus/dbus-glib-lowlevel.h> #include <dbus/dbus-glib-lowlevel.h>
@ -11,18 +11,17 @@ Index: gdm-2.31.2/daemon/gdm-session-direct.c
#include "gdm-session-direct.h" #include "gdm-session-direct.h"
#include "gdm-session.h" #include "gdm-session.h"
#include "gdm-session-private.h" #include "gdm-session-private.h"
@@ -674,6 +676,15 @@ get_fallback_session_name (GdmSessionDir @@ -662,6 +664,14 @@ get_fallback_session_name (GdmSessionDir
} }
} }
+ name = gdm_sysconfig_load_value ("/etc/sysconfig/windowmanager", "DEFAULT_WM"); + name = gdm_sysconfig_load_value ("/etc/sysconfig/windowmanager", "DEFAULT_WM");
+ if (name && get_session_command_for_name (name, NULL)) { + if (name && get_session_command_for_name (name, NULL)) {
+ return name; + g_free (session_direct->priv->fallback_session_name);
+ session_direct->priv->fallback_session_name = name;
+ goto out;
+ } + }
+
+ if (name) {
+ g_free (name); + g_free (name);
+ }
+ +
name = g_strdup ("gnome"); name = g_strdup ("gnome");
if (get_session_command_for_name (name, NULL)) { if (get_session_command_for_name (name, NULL)) {

View File

@ -1,8 +1,8 @@
Index: gdm-2.30.2/gui/simple-greeter/gdm-greeter-login-window.c Index: gdm-2.31.2/gui/simple-greeter/gdm-greeter-login-window.c
=================================================================== ===================================================================
--- gdm-2.30.2.orig/gui/simple-greeter/gdm-greeter-login-window.c --- gdm-2.31.2.orig/gui/simple-greeter/gdm-greeter-login-window.c
+++ gdm-2.30.2/gui/simple-greeter/gdm-greeter-login-window.c +++ gdm-2.31.2/gui/simple-greeter/gdm-greeter-login-window.c
@@ -950,35 +950,6 @@ on_user_unchosen (GdmUserChooserWidget @@ -1044,35 +1044,6 @@ on_user_unchosen (GdmUserChooserWidget
do_cancel (login_window); do_cancel (login_window);
} }
@ -38,7 +38,7 @@ Index: gdm-2.30.2/gui/simple-greeter/gdm-greeter-login-window.c
static char * static char *
file_read_one_line (const char *filename) file_read_one_line (const char *filename)
{ {
@@ -1077,16 +1048,19 @@ create_computer_info (GdmGreeterLoginWin @@ -1184,16 +1155,19 @@ create_computer_info (GdmGreeterLoginWin
if (strcmp (localhost, "localhost") == 0 || if (strcmp (localhost, "localhost") == 0 ||
strcmp (localhost, "localhost.localdomain") == 0) { strcmp (localhost, "localhost.localdomain") == 0) {
@ -60,7 +60,7 @@ Index: gdm-2.30.2/gui/simple-greeter/gdm-greeter-login-window.c
} }
gdm_profile_end (NULL); gdm_profile_end (NULL);
@@ -1190,9 +1164,6 @@ load_theme (GdmGreeterLoginWindow *login @@ -1293,9 +1267,6 @@ load_theme (GdmGreeterLoginWindow *login
create_computer_info (login_window); create_computer_info (login_window);
@ -70,10 +70,10 @@ Index: gdm-2.30.2/gui/simple-greeter/gdm-greeter-login-window.c
if (login_window->priv->user_list_disabled) { if (login_window->priv->user_list_disabled) {
switch_mode (login_window, MODE_AUTHENTICATION); switch_mode (login_window, MODE_AUTHENTICATION);
} else { } else {
Index: gdm-2.30.2/gui/simple-greeter/gdm-greeter-login-window.ui Index: gdm-2.31.2/gui/simple-greeter/gdm-greeter-login-window.ui
=================================================================== ===================================================================
--- gdm-2.30.2.orig/gui/simple-greeter/gdm-greeter-login-window.ui --- gdm-2.31.2.orig/gui/simple-greeter/gdm-greeter-login-window.ui
+++ gdm-2.30.2/gui/simple-greeter/gdm-greeter-login-window.ui +++ gdm-2.31.2/gui/simple-greeter/gdm-greeter-login-window.ui
@@ -2,28 +2,29 @@ @@ -2,28 +2,29 @@
<interface> <interface>
<requires lib="gtk+" version="2.16"/> <requires lib="gtk+" version="2.16"/>
@ -119,7 +119,7 @@ Index: gdm-2.30.2/gui/simple-greeter/gdm-greeter-login-window.ui
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@@ -32,271 +33,203 @@ @@ -32,227 +33,103 @@
</packing> </packing>
</child> </child>
<child> <child>
@ -188,96 +188,45 @@ Index: gdm-2.30.2/gui/simple-greeter/gdm-greeter-login-window.ui
- <property name="tab_fill">False</property> - <property name="tab_fill">False</property>
- </packing> - </packing>
- </child> - </child>
<child> - <child>
- <placeholder/> - <placeholder/>
- </child> - </child>
- <child type="tab"> - <child type="tab">
- <object class="GtkLabel" id="label12"> - <object class="GtkLabel" id="label12">
+ <object class="GtkLabel" id="auth-banner-label"> - <property name="visible">True</property>
<property name="visible">True</property> - </object>
+ <property name="justify">center</property>
+ <property name="wrap">True</property>
</object>
- <packing> - <packing>
- <property name="position">2</property> - <property name="position">2</property>
- <property name="tab_fill">False</property> - <property name="tab_fill">False</property>
- </packing> - </packing>
</child> - </child>
+ </object> - <child>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkAlignment" id="alignment3">
+ <property name="visible">True</property>
+ <child>
+ <object class="GtkVBox" id="selection-box">
+ <property name="visible">True</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">10</property>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <object class="GtkHBox" id="auth-input-box">
+ <property name="visible">True</property>
+ <property name="spacing">6</property>
<child>
- <placeholder/> - <placeholder/>
- </child> - </child>
- <child type="tab"> - <child type="tab">
- <object class="GtkLabel" id="label13"> - <object class="GtkLabel" id="label13">
+ <object class="GtkLabel" id="auth-prompt-label"> - <property name="visible">True</property>
<property name="visible">True</property> - </object>
+ <accessibility> - <packing>
+ <relation type="label-for" target="auth-prompt-entry"/>
+ </accessibility>
</object>
<packing>
- <property name="position">3</property> - <property name="position">3</property>
- <property name="tab_fill">False</property> - <property name="tab_fill">False</property>
+ <property name="expand">False</property> - </packing>
+ <property name="fill">False</property> - </child>
+ <property name="position">0</property> - <child>
</packing>
</child>
<child>
- <placeholder/> - <placeholder/>
- </child> - </child>
- <child type="tab"> - <child type="tab">
- <object class="GtkLabel" id="label14"> - <object class="GtkLabel" id="label14">
+ <object class="GtkEntry" id="auth-prompt-entry"> - <property name="visible">True</property>
<property name="visible">True</property> - </object>
+ <property name="can_focus">True</property> - <packing>
+ <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+ <property name="invisible_char">&#x25CF;</property>
+ <property name="activates_default">True</property>
+ <accessibility>
+ <relation type="labelled-by" target="auth-prompt-label"/>
+ </accessibility>
</object>
<packing>
- <property name="position">4</property> - <property name="position">4</property>
- <property name="tab_fill">False</property> - <property name="tab_fill">False</property>
+ <property name="position">1</property> - </packing>
</packing> - </child>
</child> - <child>
<child> - <placeholder/>
<placeholder/> - </child>
</child>
- <child type="tab"> - <child type="tab">
- <object class="GtkLabel" id="label15"> - <object class="GtkLabel" id="label15">
- <property name="visible">True</property> - <property name="visible">True</property>
@ -287,29 +236,20 @@ Index: gdm-2.30.2/gui/simple-greeter/gdm-greeter-login-window.ui
- <property name="tab_fill">False</property> - <property name="tab_fill">False</property>
- </packing> - </packing>
- </child> - </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="auth-message-box">
+ <property name="visible">True</property>
<child> <child>
- <placeholder/> - <placeholder/>
- </child> - </child>
- <child type="tab"> - <child type="tab">
- <object class="GtkLabel" id="label16"> - <object class="GtkLabel" id="label16">
+ <object class="GtkLabel" id="auth-message-label"> + <object class="GtkLabel" id="auth-banner-label">
<property name="visible">True</property> <property name="visible">True</property>
+ <property name="justify">center</property>
+ <property name="wrap">True</property>
</object> </object>
<packing> - <packing>
- <property name="position">6</property> - <property name="position">6</property>
- <property name="tab_fill">False</property> - <property name="tab_fill">False</property>
+ <property name="position">0</property> - </packing>
</packing>
</child> </child>
</object> </object>
+ <packing> + <packing>
@ -319,59 +259,51 @@ Index: gdm-2.30.2/gui/simple-greeter/gdm-greeter-login-window.ui
+ </packing> + </packing>
</child> </child>
</object> </object>
- <packing> <packing>
- <property name="expand">False</property> - <property name="expand">False</property>
- <property name="fill">False</property> - <property name="fill">False</property>
- <property name="position">1</property> <property name="position">1</property>
- </packing> </packing>
</child> </child>
+ </object> + </object>
+ <packing> + <packing>
+ <property name="position">1</property> + <property name="position">0</property>
+ </packing> + </packing>
+ </child> + </child>
+ <child> + <child>
+ <object class="GtkHButtonBox" id="buttonbox"> + <object class="GtkAlignment" id="alignment3">
+ <property name="visible">True</property> + <property name="visible">True</property>
+ <property name="spacing">6</property>
+ <property name="layout_style">end</property>
<child> <child>
- <object class="GtkLabel" id="auth-banner-label"> - <object class="GtkLabel" id="auth-banner-label">
+ <object class="GtkButton" id="cancel-button"> - <property name="visible">True</property>
+ <property name="label">gtk-cancel</property>
<property name="visible">True</property>
- <property name="justify">center</property> - <property name="justify">center</property>
- <property name="wrap">True</property> - <property name="wrap">True</property>
+ <property name="can_focus">True</property> - </object>
+ <property name="receives_default">False</property> - <packing>
+ <property name="use_stock">True</property>
</object>
<packing>
- <property name="position">3</property> - <property name="position">3</property>
+ <property name="expand">False</property> - </packing>
+ <property name="fill">False</property> - </child>
+ <property name="position">4</property> - <child>
</packing>
</child>
<child>
- <object class="GtkAlignment" id="alignment3"> - <object class="GtkAlignment" id="alignment3">
+ <object class="GtkButton" id="log-in-button"> + <object class="GtkVBox" id="selection-box">
<property name="visible">True</property> <property name="visible">True</property>
+ <property name="can_focus">True</property> + <property name="orientation">vertical</property>
+ <property name="can_default">True</property> + <property name="spacing">10</property>
+ <property name="has_default">True</property> + <child>
+ <property name="receives_default">False</property> + <placeholder/>
+ </child>
<child> <child>
- <object class="GtkVBox" id="selection-box"> - <object class="GtkVBox" id="selection-box">
+ <object class="GtkHBox" id="hbox5"> + <object class="GtkHBox" id="auth-input-box">
<property name="visible">True</property> <property name="visible">True</property>
- <property name="spacing">10</property> - <property name="spacing">10</property>
- <child> + <property name="spacing">6</property>
<child>
- <placeholder/> - <placeholder/>
- </child> - </child>
<child> - <child>
- <object class="GtkHBox" id="auth-input-box"> - <object class="GtkHBox" id="auth-input-box">
+ <object class="GtkImage" id="image1"> + <object class="GtkLabel" id="auth-prompt-label">
<property name="visible">True</property> <property name="visible">True</property>
- <property name="spacing">6</property> - <property name="spacing">6</property>
- <child> - <child>
@ -405,18 +337,20 @@ Index: gdm-2.30.2/gui/simple-greeter/gdm-greeter-login-window.ui
- <child> - <child>
- <placeholder/> - <placeholder/>
- </child> - </child>
+ <property name="pixel_size">16</property> + <accessibility>
+ <relation type="label-for" target="auth-prompt-entry"/>
+ </accessibility>
</object> </object>
<packing> <packing>
- <property name="expand">False</property> <property name="expand">False</property>
- <property name="fill">False</property> <property name="fill">False</property>
- <property name="position">1</property> - <property name="position">1</property>
+ <property name="position">0</property> + <property name="position">0</property>
</packing> </packing>
</child> </child>
<child> <child>
- <object class="GtkHBox" id="auth-message-box"> - <object class="GtkHBox" id="auth-message-box">
+ <object class="GtkLabel" id="label1"> + <object class="GtkEntry" id="auth-prompt-entry">
<property name="visible">True</property> <property name="visible">True</property>
- <child> - <child>
- <object class="GtkLabel" id="auth-message-label"> - <object class="GtkLabel" id="auth-message-label">
@ -426,8 +360,13 @@ Index: gdm-2.30.2/gui/simple-greeter/gdm-greeter-login-window.ui
- <property name="position">0</property> - <property name="position">0</property>
- </packing> - </packing>
- </child> - </child>
+ <property name="xalign">0</property> + <property name="can_focus">True</property>
+ <property name="label" translatable="yes">Log In</property> + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+ <property name="invisible_char">&#x25CF;</property>
+ <property name="activates_default">True</property>
+ <accessibility>
+ <relation type="labelled-by" target="auth-prompt-label"/>
+ </accessibility>
</object> </object>
<packing> <packing>
- <property name="expand">False</property> - <property name="expand">False</property>
@ -436,10 +375,10 @@ Index: gdm-2.30.2/gui/simple-greeter/gdm-greeter-login-window.ui
+ <property name="position">1</property> + <property name="position">1</property>
</packing> </packing>
</child> </child>
</object> - </object>
</child> - </child>
</object> - </object>
<packing> - <packing>
- <property name="position">4</property> - <property name="position">4</property>
- </packing> - </packing>
- </child> - </child>
@ -450,58 +389,106 @@ Index: gdm-2.30.2/gui/simple-greeter/gdm-greeter-login-window.ui
- <property name="layout_style">end</property> - <property name="layout_style">end</property>
- <child> - <child>
- <object class="GtkButton" id="cancel-button"> - <object class="GtkButton" id="cancel-button">
- <property name="label">gtk-cancel</property> - <property name="label">Cancel</property>
- <property name="visible">True</property> - <property name="visible">True</property>
- <property name="can_focus">True</property> - <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_stock">True</property>
- </object> - </object>
- <packing> - <packing>
- <property name="expand">False</property> - <property name="expand">False</property>
- <property name="fill">False</property> - <property name="fill">False</property>
- <property name="position">4</property>
- </packing>
- </child>
- <child>
- <object class="GtkButton" id="log-in-button">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="has_default">True</property>
- <property name="receives_default">False</property>
- <child>
- <object class="GtkHBox" id="hbox5">
- <property name="visible">True</property>
- <child>
- <object class="GtkImage" id="image1">
- <property name="visible">True</property>
- <property name="pixel_size">16</property>
- </object>
- <packing>
- <property name="position">0</property> - <property name="position">0</property>
- </packing> - </packing>
- </child> - </child>
- <child> - <child>
- <object class="GtkLabel" id="label1"> - <object class="GtkButton" id="unlock-button">
- <property name="label" translatable="yes">Unlock</property>
- <property name="visible">True</property> - <property name="visible">True</property>
- <property name="xalign">0</property> - <property name="can_focus">True</property>
- <property name="label" translatable="yes">Log In</property> - <property name="can_default">True</property>
- </object> - <property name="receives_default">True</property>
- <packing> + <child>
- <property name="position">1</property> + <placeholder/>
- </packing> + </child>
- </child> </object>
- </object> <packing>
- </child> <property name="expand">False</property>
- </object> @@ -261,31 +138,88 @@
- <packing> </packing>
- <property name="expand">False</property> </child>
- <property name="fill">False</property> <child>
- <object class="GtkButton" id="log-in-button">
- <property name="label" translatable="yes">Login</property>
+ <object class="GtkHBox" id="auth-message-box">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="has_default">True</property>
- <property name="receives_default">False</property>
+ <child>
+ <object class="GtkLabel" id="auth-message-label">
+ <property name="visible">True</property>
+ </object>
+ <packing>
+ <property name="position">0</property>
+ </packing>
+ </child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
- <property name="position">5</property> - <property name="position">5</property>
- </packing> + <property name="position">2</property>
- </child> </packing>
- </object> </child>
- <packing> </object>
+ </child>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHButtonBox" id="buttonbox">
+ <property name="visible">True</property>
+ <property name="spacing">6</property>
+ <property name="layout_style">end</property>
+ <child>
+ <object class="GtkButton" id="cancel-button">
+ <property name="label">gtk-cancel</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="unlock-button">
+ <property name="label" translatable="yes">Unlock</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="can_default">True</property>
+ <property name="receives_default">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="log-in-button">
+ <property name="label" translatable="yes">Login</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="can_default">True</property>
+ <property name="has_default">True</property>
+ <property name="receives_default">False</property>
+ </object>
<packing>
<property name="expand">False</property> <property name="expand">False</property>
<property name="fill">False</property> <property name="fill">False</property>
- <property name="pack_type">end</property> - <property name="pack_type">end</property>
@ -523,11 +510,11 @@ Index: gdm-2.30.2/gui/simple-greeter/gdm-greeter-login-window.ui
+ </child> + </child>
+ </object> + </object>
</interface> </interface>
Index: gdm-2.30.2/gui/simple-greeter/gdm-greeter-login-window.ui.new Index: gdm-2.31.2/gui/simple-greeter/gdm-greeter-login-window.ui.new
=================================================================== ===================================================================
--- /dev/null --- /dev/null
+++ gdm-2.30.2/gui/simple-greeter/gdm-greeter-login-window.ui.new +++ gdm-2.31.2/gui/simple-greeter/gdm-greeter-login-window.ui.new
@@ -0,0 +1,235 @@ @@ -0,0 +1,225 @@
+<?xml version="1.0"?> +<?xml version="1.0"?>
+<interface> +<interface>
+ <requires lib="gtk+" version="2.16"/> + <requires lib="gtk+" version="2.16"/>
@ -702,46 +689,36 @@ Index: gdm-2.30.2/gui/simple-greeter/gdm-greeter-login-window.ui.new
+ <property name="label">gtk-cancel</property> + <property name="label">gtk-cancel</property>
+ <property name="visible">True</property> + <property name="visible">True</property>
+ <property name="can_focus">True</property> + <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_stock">True</property> + <property name="use_stock">True</property>
+ </object> + </object>
+ <packing> + <packing>
+ <property name="expand">False</property> + <property name="expand">False</property>
+ <property name="fill">False</property> + <property name="fill">False</property>
+ <property name="position">4</property> + <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="unlock-button">
+ <property name="label" translatable="yes">Unlock</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="can_default">True</property>
+ <property name="receives_default">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing> + </packing>
+ </child> + </child>
+ <child> + <child>
+ <object class="GtkButton" id="log-in-button"> + <object class="GtkButton" id="log-in-button">
+ <property name="label" translatable="yes">Login</property>
+ <property name="visible">True</property> + <property name="visible">True</property>
+ <property name="can_focus">True</property> + <property name="can_focus">True</property>
+ <property name="can_default">True</property> + <property name="can_default">True</property>
+ <property name="has_default">True</property> + <property name="has_default">True</property>
+ <property name="receives_default">False</property> + <property name="receives_default">False</property>
+ <child>
+ <object class="GtkHBox" id="hbox5">
+ <property name="visible">True</property>
+ <child>
+ <object class="GtkImage" id="image1">
+ <property name="visible">True</property>
+ <property name="pixel_size">16</property>
+ </object>
+ <packing>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label1">
+ <property name="visible">True</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">Log In</property>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ </object> + </object>
+ <packing> + <packing>
+ <property name="expand">False</property> + <property name="expand">False</property>

View File

@ -1,29 +0,0 @@
Index: gdm-2.31.2/gui/simple-greeter/gdm-greeter-panel.c
===================================================================
--- gdm-2.31.2.orig/gui/simple-greeter/gdm-greeter-panel.c
+++ gdm-2.31.2/gui/simple-greeter/gdm-greeter-panel.c
@@ -726,6 +726,7 @@ setup_panel (GdmGreeterPanel *panel)
{
NaTray *tray;
GtkWidget *spacer;
+ GdkScreen *screen;
int padding;
gdm_profile_start (NULL);
@@ -846,7 +847,15 @@ setup_panel (GdmGreeterPanel *panel)
panel->priv->clock = gdm_clock_widget_new ();
gtk_box_pack_end (GTK_BOX (panel->priv->hbox),
GTK_WIDGET (panel->priv->clock), FALSE, FALSE, 6);
- gtk_widget_show (panel->priv->clock);
+
+ screen = gtk_widget_get_screen (panel->priv->clock);
+ if (!screen)
+ screen = gdk_screen_get_default ();
+
+ /* If resolution is limited, hide clock to conserve horizontal space */
+
+ if (!screen || gdk_screen_get_width (screen) >= 1024)
+ gtk_widget_show (panel->priv->clock);
tray = na_tray_new_for_screen (gtk_window_get_screen (GTK_WINDOW (panel)),
GTK_ORIENTATION_HORIZONTAL);

View File

@ -22,7 +22,7 @@ Index: daemon/gdm-session-direct.c
=================================================================== ===================================================================
--- daemon/gdm-session-direct.c.orig --- daemon/gdm-session-direct.c.orig
+++ daemon/gdm-session-direct.c +++ daemon/gdm-session-direct.c
@@ -2120,6 +2120,12 @@ setup_session_environment (GdmSessionDir @@ -2119,6 +2119,12 @@ setup_session_environment (GdmSessionDir
} }
@ -74,11 +74,3 @@ Index: daemon/gdm-welcome-session.c
g_hash_table_insert (hash, g_strdup ("PATH"), g_strdup (g_getenv ("PATH"))); g_hash_table_insert (hash, g_strdup ("PATH"), g_strdup (g_getenv ("PATH")));
g_hash_table_insert (hash, g_strdup ("WINDOWPATH"), g_strdup (g_getenv ("WINDOWPATH"))); g_hash_table_insert (hash, g_strdup ("WINDOWPATH"), g_strdup (g_getenv ("WINDOWPATH")));
g_hash_table_insert (hash, g_strdup ("RUNNING_UNDER_GDM"), g_strdup ("true")); g_hash_table_insert (hash, g_strdup ("RUNNING_UNDER_GDM"), g_strdup ("true"));
@@ -448,7 +453,6 @@ get_welcome_environment (GdmWelcomeSessi
return env;
}
-
static gboolean
stop_dbus_daemon (GdmWelcomeSession *welcome_session)
{

View File

@ -1,56 +1,67 @@
-------------------------------------------------------------------
Sun Aug 8 05:18:29 CEST 2010 - vuntz@opensuse.org
- Cleanup update to 2.31.2, based on the 2.30.4 package I did for
GNOME:STABLE:2.30.
- Drop gdm-save-panel-space-on-low-resolutions.patch: fixed
upstream, in a different way.
- Drop gdm-add-missing-locale.patch: the file is now in the
tarball.
- Update gdm-default-wm.patch after code change.
- Rebase gdm-greeter-greater-ui.patch.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jul 30 15:40:22 CEST 2010 - dimstar@opensuse.org Fri Jul 30 15:40:22 CEST 2010 - dimstar@opensuse.org
- Update to version 2.31.2: - Update to version 2.31.2:
+ Add support for legacy "custom" session name + Add support for legacy "custom" session name
+ Various build and warning fixes
+ XDMCP fixes + XDMCP fixes
+ Add optional support for account service + Add optional support for account service
+ Fix crash with multiple user switcher applets
+ Gracefully hide control center from user switch menu if not + Gracefully hide control center from user switch menu if not
available available
+ Revert metacity focus workaround, now that metacity is fixed + Revert metacity focus workaround, now that metacity is fixed
+ Rehide g-p-m context menu + Rehide g-p-m context menu
+ Updates to work better with newer icon theme + Updates to work better with newer icon theme
+ fix non-source-dir builds + Show username input box when there's no local user
+ show username input box when there's no local user + Remove gdm-restart and gdm-stop scripts
+ Various memory leaks + Remove text labels from option menus
+ remove gdm-restart and gdm-stop scripts + Various user manager and user chooser fixes and performance
+ remove text labels from option menus
+ various user manager and user chooser fixes and performance
enhancements enhancements
+ various crasher fixes + Escape names before showing markup
+ escape names before showing markup
+ Call button "unlock" not "login" when user is already logged + Call button "unlock" not "login" when user is already logged
in in
+ Cap how long ck-history is allowed to run and how far back its + Cap how long ck-history is allowed to run and how far back its
allowed to go allowed to go
+ Improvements to the way users are sorted + Improvements to the way users are sorted
+ ensure slave's children always die with the slave + Ensure slave's children always die with the slave
+ halectomy of the last remnants of hal + Use lsb_release if available to determine system description
+ don't exit when X fails to start + Automatically retry on login failure
+ trap XAddHosts call + Fix timed login + disable-user-list together
+ minor fixes in screenshot tool + Don't exit when X fails to start
+ use lsb_release if available to determine system description + Trap XAddHosts call
+ automatically retry on login failure + Minor fixes in screenshot tool
+ improve coverage of test programs + Halectomy of the last remnants of hal
+ fix timed login + disable-user-list together + Various crasher fixes
+ Various memory leaks
+ Various build and warning fixes
- Changes from version 2.31.1: - Changes from version 2.31.1:
+ bgo@594818: Now GDM saves its GConf settings per-seat. + bgo#594818: Now GDM saves its GConf settings per-seat.
+ bgo#617661: Enable FD_CLOEXEC for signal self-pipe
+ Improvements so compiling with -DGSEAL_ENABLE works better. + Improvements so compiling with -DGSEAL_ENABLE works better.
+ Use g_remove() to remove directories instead of g_unlink(). + Use g_remove() to remove directories instead of g_unlink().
+ bgo#576801: No longer clear the entry field by setting it to a + Other bugs fixed: bgo#617661, bgo#576801, bgo#609272,
list of '\b' characters. Now use gtk_editable_delete_text bgo#591937
which safely clears the entry field instead. - Rebase gdm-vt-allocation-hack.patch to apply without fuzz.
+ bgo#609272: Fix setting of WINDOWPATH so it does not assume the
format is 32 bit
+ bgo#591937: does not compile when ENODATA is not available.
- Drop upstream included gdm-polkit-gnome-path.patch,
gdm-xdmcp-uninitialized.patch and gdm-greeter-no-local-user.patch
- As no more patches touch translation, remove calls to
patch-translation.
- Rebase gdm-xauthlocalhostname.patch. - Rebase gdm-xauthlocalhostname.patch.
- Mark gdm-domain-logon.patch as needing a rebase: it's a SLED
patch that is intrusive, so we'll see if someone rebases it.
Comment out gnome-patch-translation-prepare and
gnome-patch-translation-update calls since this patch was the one
introducing strings.
- Drop gdm-polkit-gnome-path.patch: fixed upstream with a
configure option that we already passed
(--with-polkit-gnome-directory).
- Drop gdm-xdmcp-uninitialized.patch: fixed upstream.
- Drop gdm-greeter-no-local-user.patch: fixed upstream.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jun 22 02:39:36 CEST 2010 - vuntz@opensuse.org Tue Jun 22 02:39:36 CEST 2010 - vuntz@opensuse.org

View File

@ -63,12 +63,10 @@ Patch7: gdm-suse-xsession.patch
Patch8: gdm-sysconfig-settings.patch Patch8: gdm-sysconfig-settings.patch
# PATCH-NEEDS-REBASE gdm-domain-logon.patch hpj@novell.com -- Add UI to log in a specific domain (was: PATCH_FEATURE-SLED bnc#627575) # PATCH-NEEDS-REBASE gdm-domain-logon.patch hpj@novell.com -- Add UI to log in a specific domain (was: PATCH_FEATURE-SLED bnc#627575)
Patch9: gdm-domain-logon.patch Patch9: gdm-domain-logon.patch
# PATCH-NEEDS-REBASE gdm-greeter-greater-ui.patch bnc436431 bgo560508 vuntz@novell.com -- Improve the layout of the greeter. Note: the patch contains a patched glade file *and* the result glade file (for reference only, in case we need to rebase the patch) (WAS: PATCH-FIX-UPSTREAM bnc#627583) # PATCH-FIX-UPSTREAM gdm-greeter-greater-ui.patch bnc436431 bgo560508 vuntz@novell.com -- Improve the layout of the greeter. Note: the patch contains a patched glade file *and* the result glade file (for reference only, in case we need to rebase the patch)
Patch15: gdm-greeter-greater-ui.patch Patch15: gdm-greeter-greater-ui.patch
# PATCH-FIX-UPSTREAM gdm-always-reflect-keyboard-layout.patch bnc438159 bgo561771 hpj@novell.com -- Make keyboard selector not neglect to apply the selected keyboard in some situations. # PATCH-FIX-UPSTREAM gdm-always-reflect-keyboard-layout.patch bnc438159 bgo561771 hpj@novell.com -- Make keyboard selector not neglect to apply the selected keyboard in some situations.
Patch18: gdm-always-reflect-keyboard-layout.patch Patch18: gdm-always-reflect-keyboard-layout.patch
# PATCH-FIX-UPSTREAM gdm-save-panel-space-on-low-resolutions.patch bnc449815 bgo603817 hpj@novell.com -- Hide clock and/or selector labels on low resolutions. (needed because of gdm-domain-logon.patch)
Patch19: gdm-save-panel-space-on-low-resolutions.patch
# PATCH-FIX-UPSTREAM gdm-selecting-desktop-environment.patch bnc460591 mxwu@novell.com -- Selecting the right desktop environment # PATCH-FIX-UPSTREAM gdm-selecting-desktop-environment.patch bnc460591 mxwu@novell.com -- Selecting the right desktop environment
Patch20: gdm-selecting-desktop-environment.patch Patch20: gdm-selecting-desktop-environment.patch
# PATCH-FIX-OPENSUSE gdm-gconf-path.patch vuntz@novell.com -- Fix gconf paths to be consistent with the ones used in openSUSE # PATCH-FIX-OPENSUSE gdm-gconf-path.patch vuntz@novell.com -- Fix gconf paths to be consistent with the ones used in openSUSE
@ -81,8 +79,6 @@ Patch35: gdm-xauthlocalhostname.patch
Patch37: gdm-autologin-once.patch Patch37: gdm-autologin-once.patch
# PATCH-FIX-UPSTREAM gdm-look-at-runlevel.patch bnc540482 bgo599180 vuntz@opensuse.org -- Look at the current runlevel before managing the display again, so we don't do this when shutting down or rebooting # PATCH-FIX-UPSTREAM gdm-look-at-runlevel.patch bnc540482 bgo599180 vuntz@opensuse.org -- Look at the current runlevel before managing the display again, so we don't do this when shutting down or rebooting
Patch40: gdm-look-at-runlevel.patch Patch40: gdm-look-at-runlevel.patch
# PATCH-FIX-UPSTREAM gdm-add-missing-locale.patch captain.magnus@opensuse.org -- Add missing locale.alias file. This patch can be removed with the next version update
Patch41: gdm-add-missing-locale.patch
# PATCH-FIX-OPENSUSE gdm-selinux.patch -- Small changes to make it compile fine with SELinux # PATCH-FIX-OPENSUSE gdm-selinux.patch -- Small changes to make it compile fine with SELinux
Patch60: gdm-selinux.patch Patch60: gdm-selinux.patch
Url: http://www.gnome.org/ Url: http://www.gnome.org/
@ -142,6 +138,7 @@ the GNOME display manager.
%prep %prep
%setup -q %setup -q
translation-update-upstream translation-update-upstream
#gnome-patch-translation-prepare
%patch1 -p1 %patch1 -p1
%patch2 -p1 %patch2 -p1
%patch4 -p1 %patch4 -p1
@ -149,17 +146,16 @@ translation-update-upstream
%patch7 -p1 %patch7 -p1
%patch8 -p1 %patch8 -p1
#%patch9 -p1 #%patch9 -p1
#%patch15 -p1 %patch15 -p1
%patch18 -p1 %patch18 -p1
%patch19 -p1
%patch20 -p1 %patch20 -p1
%patch31 -p1 %patch31 -p1
%patch34 -p1 %patch34 -p1
%patch35 -p0 %patch35 -p0
%patch37 -p1 %patch37 -p1
%patch40 -p1 %patch40 -p1
%patch41 -p1
%patch60 %patch60
#gnome-patch-translation-update
%build %build
libtoolize -f -i libtoolize -f -i
@ -235,7 +231,7 @@ fi
%doc AUTHORS COPYING ChangeLog NEWS README %doc AUTHORS COPYING ChangeLog NEWS README
%dir %config %{_sysconfdir}/gdm %dir %config %{_sysconfdir}/gdm
%config %{_sysconfdir}/gdm/[IPXl]* %config %{_sysconfdir}/gdm/[IPXl]*
%{_sbindir}/* %{_sbindir}/gdm
%{_bindir}/* %{_bindir}/*
%{_datadir}/gdm %{_datadir}/gdm
%{_datadir}/pixmaps/*.png %{_datadir}/pixmaps/*.png