diff options
author | Dan Winship <danw@src.gnome.org> | 2002-04-11 03:01:14 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2002-04-11 03:01:14 +0800 |
commit | 8ded5c9c10e4079fded6889ec4b10c37226468d4 (patch) | |
tree | 46bc039454a21d53d478af5f069816b2e4f872a5 /shell/glade | |
parent | eaeb675f415f5f672cdcd5b4774356d1ca383fa1 (diff) | |
download | gsoc2013-evolution-8ded5c9c10e4079fded6889ec4b10c37226468d4.tar gsoc2013-evolution-8ded5c9c10e4079fded6889ec4b10c37226468d4.tar.gz gsoc2013-evolution-8ded5c9c10e4079fded6889ec4b10c37226468d4.tar.bz2 gsoc2013-evolution-8ded5c9c10e4079fded6889ec4b10c37226468d4.tar.lz gsoc2013-evolution-8ded5c9c10e4079fded6889ec4b10c37226468d4.tar.xz gsoc2013-evolution-8ded5c9c10e4079fded6889ec4b10c37226468d4.tar.zst gsoc2013-evolution-8ded5c9c10e4079fded6889ec4b10c37226468d4.zip |
Shell config page routines. Right now handles the default folders page.
* e-shell-config.c: Shell config page routines. Right now
handles the default folders page.
* glade/e-shell-config-default-folders.glade: New.
* GNOME_Evolution_Shell.oaf.in: Add info for the default folders
config page.
* main.c (idle_cb): If we successfully registered the shell,
register the config factory.
* evolution-shell-client.c (evolution_shell_client_new): Note the
fact that it frees the corba_shell when it is destroyed.
* evolution-folder-selector-button.c
(evolution_folder_selector_button_construct, destroy): Use
bonobo_object_ref/unref on the shell client, not gtk.
* e-shell.c (e_shell_construct): Pass local_directory to
e_setup_check_db.
(handle_default_uri): Fix the config db paths here to match the
other routines.
* e-setup.c (e_setup_check_db): Make this take the evolution
directory path as well so we can properly set up file: URIs for
the default folders.
svn path=/trunk/; revision=16423
Diffstat (limited to 'shell/glade')
-rw-r--r-- | shell/glade/Makefile.am | 1 | ||||
-rw-r--r-- | shell/glade/e-shell-config-default-folders.glade | 255 |
2 files changed, 256 insertions, 0 deletions
diff --git a/shell/glade/Makefile.am b/shell/glade/Makefile.am index 4ef31d8057..a53765cda5 100644 --- a/shell/glade/Makefile.am +++ b/shell/glade/Makefile.am @@ -2,6 +2,7 @@ gladedir = $(datadir)/evolution/glade glade_DATA = \ e-active-connection-dialog.glade \ + e-shell-config-default-folders.glade \ e-shell-folder-creation-dialog.glade \ evolution-startup-wizard.glade diff --git a/shell/glade/e-shell-config-default-folders.glade b/shell/glade/e-shell-config-default-folders.glade new file mode 100644 index 0000000000..bb0b404039 --- /dev/null +++ b/shell/glade/e-shell-config-default-folders.glade @@ -0,0 +1,255 @@ +<?xml version="1.0"?> +<GTK-Interface> + +<project> + <name>Config</name> + <program_name>config</program_name> + <directory></directory> + <source_directory>src</source_directory> + <pixmaps_directory>../../../gnome/evolution/art</pixmaps_directory> + <language>C</language> + <gnome_support>True</gnome_support> + <gettext_support>True</gettext_support> +</project> + +<widget> + <class>GtkWindow</class> + <name>default folders</name> + <visible>False</visible> + <title>window1</title> + <type>GTK_WINDOW_TOPLEVEL</type> + <position>GTK_WIN_POS_NONE</position> + <modal>False</modal> + <allow_shrink>False</allow_shrink> + <allow_grow>True</allow_grow> + <auto_shrink>False</auto_shrink> + + <widget> + <class>GtkVBox</class> + <name>default_folders_vbox</name> + <homogeneous>False</homogeneous> + <spacing>0</spacing> + + <widget> + <class>GtkFrame</class> + <name>default_folder_frame</name> + <label>Default folders</label> + <label_xalign>0</label_xalign> + <shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type> + <child> + <padding>0</padding> + <expand>True</expand> + <fill>True</fill> + </child> + + <widget> + <class>GtkTable</class> + <name>table1</name> + <border_width>4</border_width> + <rows>4</rows> + <columns>2</columns> + <homogeneous>False</homogeneous> + <row_spacing>4</row_spacing> + <column_spacing>4</column_spacing> + + <widget> + <class>GtkLabel</class> + <name>label1</name> + <label>Mail:</label> + <justify>GTK_JUSTIFY_CENTER</justify> + <wrap>False</wrap> + <xalign>0</xalign> + <yalign>0.5</yalign> + <xpad>0</xpad> + <ypad>0</ypad> + <child> + <left_attach>0</left_attach> + <right_attach>1</right_attach> + <top_attach>0</top_attach> + <bottom_attach>1</bottom_attach> + <xpad>0</xpad> + <ypad>0</ypad> + <xexpand>False</xexpand> + <yexpand>False</yexpand> + <xshrink>False</xshrink> + <yshrink>False</yshrink> + <xfill>True</xfill> + <yfill>False</yfill> + </child> + </widget> + + <widget> + <class>GtkLabel</class> + <name>label4</name> + <label>Tasks:</label> + <justify>GTK_JUSTIFY_CENTER</justify> + <wrap>False</wrap> + <xalign>0</xalign> + <yalign>0.5</yalign> + <xpad>0</xpad> + <ypad>0</ypad> + <child> + <left_attach>0</left_attach> + <right_attach>1</right_attach> + <top_attach>3</top_attach> + <bottom_attach>4</bottom_attach> + <xpad>0</xpad> + <ypad>0</ypad> + <xexpand>False</xexpand> + <yexpand>False</yexpand> + <xshrink>False</xshrink> + <yshrink>False</yshrink> + <xfill>True</xfill> + <yfill>False</yfill> + </child> + </widget> + + <widget> + <class>GtkLabel</class> + <name>label3</name> + <label>Contacts:</label> + <justify>GTK_JUSTIFY_CENTER</justify> + <wrap>False</wrap> + <xalign>0</xalign> + <yalign>0.5</yalign> + <xpad>0</xpad> + <ypad>0</ypad> + <child> + <left_attach>0</left_attach> + <right_attach>1</right_attach> + <top_attach>1</top_attach> + <bottom_attach>2</bottom_attach> + <xpad>0</xpad> + <ypad>0</ypad> + <xexpand>False</xexpand> + <yexpand>False</yexpand> + <xshrink>False</xshrink> + <yshrink>False</yshrink> + <xfill>True</xfill> + <yfill>False</yfill> + </child> + </widget> + + <widget> + <class>GtkLabel</class> + <name>label2</name> + <label>Calendar:</label> + <justify>GTK_JUSTIFY_CENTER</justify> + <wrap>False</wrap> + <xalign>0</xalign> + <yalign>0.5</yalign> + <xpad>0</xpad> + <ypad>0</ypad> + <child> + <left_attach>0</left_attach> + <right_attach>1</right_attach> + <top_attach>2</top_attach> + <bottom_attach>3</bottom_attach> + <xpad>0</xpad> + <ypad>0</ypad> + <xexpand>False</xexpand> + <yexpand>False</yexpand> + <xshrink>False</xshrink> + <yshrink>False</yshrink> + <xfill>True</xfill> + <yfill>False</yfill> + </child> + </widget> + + <widget> + <class>Custom</class> + <name>default_mail_button</name> + <creation_function>e_shell_config_default_folder_selector_button_new</creation_function> + <int1>0</int1> + <int2>0</int2> + <last_modification_time>Wed, 10 Apr 2002 17:54:56 GMT</last_modification_time> + <child> + <left_attach>1</left_attach> + <right_attach>2</right_attach> + <top_attach>0</top_attach> + <bottom_attach>1</bottom_attach> + <xpad>0</xpad> + <ypad>0</ypad> + <xexpand>True</xexpand> + <yexpand>False</yexpand> + <xshrink>False</xshrink> + <yshrink>False</yshrink> + <xfill>True</xfill> + <yfill>True</yfill> + </child> + </widget> + + <widget> + <class>Custom</class> + <name>default_contacts_button</name> + <creation_function>e_shell_config_default_folder_selector_button_new</creation_function> + <int1>0</int1> + <int2>0</int2> + <last_modification_time>Wed, 10 Apr 2002 17:55:01 GMT</last_modification_time> + <child> + <left_attach>1</left_attach> + <right_attach>2</right_attach> + <top_attach>1</top_attach> + <bottom_attach>2</bottom_attach> + <xpad>0</xpad> + <ypad>0</ypad> + <xexpand>False</xexpand> + <yexpand>False</yexpand> + <xshrink>False</xshrink> + <yshrink>False</yshrink> + <xfill>True</xfill> + <yfill>True</yfill> + </child> + </widget> + + <widget> + <class>Custom</class> + <name>default_calendar_button</name> + <creation_function>e_shell_config_default_folder_selector_button_new</creation_function> + <int1>0</int1> + <int2>0</int2> + <last_modification_time>Wed, 10 Apr 2002 17:55:06 GMT</last_modification_time> + <child> + <left_attach>1</left_attach> + <right_attach>2</right_attach> + <top_attach>2</top_attach> + <bottom_attach>3</bottom_attach> + <xpad>0</xpad> + <ypad>0</ypad> + <xexpand>False</xexpand> + <yexpand>False</yexpand> + <xshrink>False</xshrink> + <yshrink>False</yshrink> + <xfill>True</xfill> + <yfill>True</yfill> + </child> + </widget> + + <widget> + <class>Custom</class> + <name>default_tasks_button</name> + <creation_function>e_shell_config_default_folder_selector_button_new</creation_function> + <int1>0</int1> + <int2>0</int2> + <last_modification_time>Wed, 10 Apr 2002 17:55:12 GMT</last_modification_time> + <child> + <left_attach>1</left_attach> + <right_attach>2</right_attach> + <top_attach>3</top_attach> + <bottom_attach>4</bottom_attach> + <xpad>0</xpad> + <ypad>0</ypad> + <xexpand>False</xexpand> + <yexpand>False</yexpand> + <xshrink>False</xshrink> + <yshrink>False</yshrink> + <xfill>True</xfill> + <yfill>True</yfill> + </child> + </widget> + </widget> + </widget> + </widget> +</widget> + +</GTK-Interface> |