diff options
author | Xan Lopez <xan@src.gnome.org> | 2003-11-16 23:11:45 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2003-11-16 23:11:45 +0800 |
commit | 3adf5dd98cd8798dd1e2a1817a4f403976fdf41f (patch) | |
tree | 58b422df5512a6bda929dc6d5ce5fbfe2185987d /data | |
parent | 52ea620be10d0da3535e7667e3f28bd11c0f78d5 (diff) | |
download | gsoc2013-epiphany-3adf5dd98cd8798dd1e2a1817a4f403976fdf41f.tar.gz gsoc2013-epiphany-3adf5dd98cd8798dd1e2a1817a4f403976fdf41f.tar.zst gsoc2013-epiphany-3adf5dd98cd8798dd1e2a1817a4f403976fdf41f.zip |
Implement UI for default download path and auto open downlads prefs for
* data/glade/prefs-dialog.glade:
* src/prefs-dialog.c: (prefs_dialog_finalize),
(get_download_button_label), (create_download_path_label),
(prefs_dialog_init), (prefs_language_more_button_clicked_cb),
(download_path_response_cb),
(prefs_download_path_button_clicked_cb):
Implement UI for default download path and auto open downlads
prefs for the downloader.
Diffstat (limited to 'data')
-rw-r--r-- | data/glade/prefs-dialog.glade | 139 |
1 files changed, 96 insertions, 43 deletions
diff --git a/data/glade/prefs-dialog.glade b/data/glade/prefs-dialog.glade index 1e64961ff..8d0f947de 100644 --- a/data/glade/prefs-dialog.glade +++ b/data/glade/prefs-dialog.glade @@ -2,7 +2,6 @@ <!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd"> <glade-interface> -<requires lib="gnome"/> <widget class="GtkDialog" id="prefs_dialog"> <property name="border_width">5</property> @@ -256,66 +255,40 @@ <property name="spacing">18</property> <child> - <widget class="GtkVBox" id="vbox159"> + <widget class="GtkVBox" id="vbox183"> <property name="visible">True</property> <property name="homogeneous">False</property> <property name="spacing">6</property> <child> - <widget class="GtkHBox" id="hbox145"> + <widget class="GtkLabel" id="label1300"> <property name="visible">True</property> - <property name="homogeneous">False</property> - <property name="spacing">0</property> - - <child> - <widget class="GtkLabel" id="label1253"> - <property name="visible">True</property> - <property name="label" translatable="yes"> </property> - <property name="use_underline">False</property> - <property name="use_markup">False</property> - <property name="justify">GTK_JUSTIFY_LEFT</property> - <property name="wrap">False</property> - <property name="selectable">False</property> - <property name="xalign">0.5</property> - <property name="yalign">0.5</property> - <property name="xpad">0</property> - <property name="ypad">0</property> - </widget> - <packing> - <property name="padding">0</property> - <property name="expand">False</property> - <property name="fill">False</property> - </packing> - </child> + <property name="label" translatable="yes"><b>Downloads</b></property> + <property name="use_underline">False</property> + <property name="use_markup">True</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">0</property> + <property name="yalign">0.5</property> + <property name="xpad">0</property> + <property name="ypad">0</property> </widget> <packing> <property name="padding">0</property> - <property name="expand">True</property> - <property name="fill">True</property> + <property name="expand">False</property> + <property name="fill">False</property> </packing> </child> - </widget> - <packing> - <property name="padding">0</property> - <property name="expand">False</property> - <property name="fill">False</property> - </packing> - </child> - - <child> - <widget class="GtkVBox" id="vbox183"> - <property name="visible">True</property> - <property name="homogeneous">False</property> - <property name="spacing">6</property> <child> - <widget class="GtkHBox" id="hbox169"> + <widget class="GtkHBox" id="hbox182"> <property name="visible">True</property> <property name="homogeneous">False</property> <property name="spacing">0</property> <child> - <widget class="GtkLabel" id="label1291"> + <widget class="GtkLabel" id="label1301"> <property name="visible">True</property> <property name="label" translatable="yes"> </property> <property name="use_underline">False</property> @@ -334,6 +307,86 @@ <property name="fill">False</property> </packing> </child> + + <child> + <widget class="GtkVBox" id="vbox197"> + <property name="visible">True</property> + <property name="homogeneous">False</property> + <property name="spacing">6</property> + + <child> + <widget class="GtkHBox" id="hbox183"> + <property name="visible">True</property> + <property name="homogeneous">False</property> + <property name="spacing">12</property> + + <child> + <widget class="GtkLabel" id="label1302"> + <property name="visible">True</property> + <property name="label" translatable="yes">Download folder:</property> + <property name="use_underline">False</property> + <property name="use_markup">False</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">0.5</property> + <property name="yalign">0.5</property> + <property name="xpad">0</property> + <property name="ypad">0</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">False</property> + </packing> + </child> + + <child> + <widget class="GtkButton" id="download_path_button"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="use_underline">True</property> + <property name="relief">GTK_RELIEF_NORMAL</property> + <signal name="clicked" handler="prefs_download_path_button_clicked_cb"/> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">True</property> + <property name="fill">True</property> + </packing> + </child> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">True</property> + </packing> + </child> + + <child> + <widget class="GtkCheckButton" id="auto_open_downloads_checkbutton"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="label" translatable="yes">Automatically open "safe" downloads</property> + <property name="use_underline">True</property> + <property name="relief">GTK_RELIEF_NORMAL</property> + <property name="active">False</property> + <property name="inconsistent">False</property> + <property name="draw_indicator">True</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">False</property> + </packing> + </child> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">True</property> + <property name="fill">True</property> + </packing> + </child> </widget> <packing> <property name="padding">0</property> |