diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-12-19 22:34:59 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-12-19 22:34:59 +0000 |
commit | 7080052d48b99866f665ff87eb9f82723834c49a (patch) | |
tree | 0994404f5f3e49082dfd923e6d1e9014fc56d403 | |
parent | 36286d8b3eaa7ff4e245aa40a54eab34b9a5b7fe (diff) | |
download | gnunet-gtk-7080052d48b99866f665ff87eb9f82723834c49a.tar.gz gnunet-gtk-7080052d48b99866f665ff87eb9f82723834c49a.zip |
-trying to fix open-by-uri dialog, not quite right still
-rw-r--r-- | contrib/gnunet_fs_gtk_open_url_dialog.glade | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/contrib/gnunet_fs_gtk_open_url_dialog.glade b/contrib/gnunet_fs_gtk_open_url_dialog.glade index 4717ef9e..139cec30 100644 --- a/contrib/gnunet_fs_gtk_open_url_dialog.glade +++ b/contrib/gnunet_fs_gtk_open_url_dialog.glade | |||
@@ -1,4 +1,4 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0"?> |
2 | <interface> | 2 | <interface> |
3 | <requires lib="gtk+" version="2.20"/> | 3 | <requires lib="gtk+" version="2.20"/> |
4 | <!-- interface-naming-policy project-wide --> | 4 | <!-- interface-naming-policy project-wide --> |
@@ -7,16 +7,15 @@ | |||
7 | <property name="stock">gtk-execute</property> | 7 | <property name="stock">gtk-execute</property> |
8 | </object> | 8 | </object> |
9 | <object class="GtkAdjustment" id="GNUNET_GTK_open_url_anonymity_adjustment"> | 9 | <object class="GtkAdjustment" id="GNUNET_GTK_open_url_anonymity_adjustment"> |
10 | <property name="upper">100000</property> | ||
11 | <property name="value">1</property> | 10 | <property name="value">1</property> |
11 | <property name="upper">100000</property> | ||
12 | <property name="step_increment">1</property> | 12 | <property name="step_increment">1</property> |
13 | <property name="page_increment">10</property> | 13 | <property name="page_increment">10</property> |
14 | </object> | 14 | </object> |
15 | <object class="GtkDialog" id="GNUNET_GTK_open_url_dialog"> | 15 | <object class="GtkDialog" id="GNUNET_GTK_open_url_dialog"> |
16 | <property name="width_request">500</property> | ||
17 | <property name="height_request">100</property> | ||
18 | <property name="border_width">5</property> | 16 | <property name="border_width">5</property> |
19 | <property name="title" translatable="yes">Download from URI</property> | 17 | <property name="title" translatable="yes">Download from URI</property> |
18 | <property name="resizable">False</property> | ||
20 | <property name="modal">True</property> | 19 | <property name="modal">True</property> |
21 | <property name="destroy_with_parent">True</property> | 20 | <property name="destroy_with_parent">True</property> |
22 | <property name="icon_name">dialog-password</property> | 21 | <property name="icon_name">dialog-password</property> |
@@ -27,6 +26,7 @@ | |||
27 | <child internal-child="vbox"> | 26 | <child internal-child="vbox"> |
28 | <object class="GtkVBox" id="GNUNET_GTK_open_url_dialog_main_vbox"> | 27 | <object class="GtkVBox" id="GNUNET_GTK_open_url_dialog_main_vbox"> |
29 | <property name="visible">True</property> | 28 | <property name="visible">True</property> |
29 | <property name="orientation">vertical</property> | ||
30 | <property name="spacing">2</property> | 30 | <property name="spacing">2</property> |
31 | <child> | 31 | <child> |
32 | <object class="GtkHBox" id="GNUNET_GTK_open_url_dialog_query_hbox"> | 32 | <object class="GtkHBox" id="GNUNET_GTK_open_url_dialog_query_hbox"> |
@@ -34,14 +34,18 @@ | |||
34 | <child> | 34 | <child> |
35 | <object class="GtkLabel" id="GNUNET_GTK_open_url_dialog_url_label"> | 35 | <object class="GtkLabel" id="GNUNET_GTK_open_url_dialog_url_label"> |
36 | <property name="visible">True</property> | 36 | <property name="visible">True</property> |
37 | <property name="sensitive">False</property> | ||
38 | <property name="double_buffered">False</property> | ||
37 | <property name="label" translatable="yes">_URI:</property> | 39 | <property name="label" translatable="yes">_URI:</property> |
38 | <property name="use_underline">True</property> | 40 | <property name="use_underline">True</property> |
39 | <property name="selectable">True</property> | ||
40 | <property name="mnemonic_widget">GNUNET_GTK_open_url_dialog_url_entry</property> | 41 | <property name="mnemonic_widget">GNUNET_GTK_open_url_dialog_url_entry</property> |
42 | <property name="single_line_mode">True</property> | ||
43 | <property name="track_visited_links">False</property> | ||
41 | </object> | 44 | </object> |
42 | <packing> | 45 | <packing> |
43 | <property name="expand">False</property> | 46 | <property name="expand">False</property> |
44 | <property name="fill">False</property> | 47 | <property name="fill">False</property> |
48 | <property name="padding">5</property> | ||
45 | <property name="position">0</property> | 49 | <property name="position">0</property> |
46 | </packing> | 50 | </packing> |
47 | </child> | 51 | </child> |
@@ -49,13 +53,13 @@ | |||
49 | <object class="GtkEntry" id="GNUNET_GTK_open_url_dialog_url_entry"> | 53 | <object class="GtkEntry" id="GNUNET_GTK_open_url_dialog_url_entry"> |
50 | <property name="visible">True</property> | 54 | <property name="visible">True</property> |
51 | <property name="can_focus">True</property> | 55 | <property name="can_focus">True</property> |
52 | <property name="invisible_char">●</property> | 56 | <property name="max_length">250</property> |
57 | <property name="invisible_char">●</property> | ||
53 | <property name="activates_default">True</property> | 58 | <property name="activates_default">True</property> |
59 | <property name="width_chars">50</property> | ||
54 | <property name="caps_lock_warning">False</property> | 60 | <property name="caps_lock_warning">False</property> |
55 | <property name="primary_icon_stock">gtk-dialog-authentication</property> | 61 | <signal name="changed" handler="GNUNET_GTK_open_url_dialog_url_entry_changed_cb"/> |
56 | <property name="primary_icon_tooltip_text" translatable="yes">Separate multiple keywords with spaces, prefix mandatory keywords with "+"</property> | 62 | <signal name="activate" handler="GNUNET_GTK_search_dialog_search_button_clicked_cb"/> |
57 | <signal name="changed" handler="GNUNET_GTK_open_url_dialog_url_entry_changed_cb" swapped="no"/> | ||
58 | <signal name="activate" handler="GNUNET_GTK_search_dialog_search_button_clicked_cb" swapped="no"/> | ||
59 | </object> | 63 | </object> |
60 | <packing> | 64 | <packing> |
61 | <property name="position">1</property> | 65 | <property name="position">1</property> |
@@ -66,12 +70,13 @@ | |||
66 | <property name="visible">True</property> | 70 | <property name="visible">True</property> |
67 | <property name="label" translatable="yes">_Anonymity:</property> | 71 | <property name="label" translatable="yes">_Anonymity:</property> |
68 | <property name="use_underline">True</property> | 72 | <property name="use_underline">True</property> |
69 | <property name="selectable">True</property> | ||
70 | <property name="mnemonic_widget">GNUNET_GTK_open_url_dialog_anonymity_spin_button</property> | 73 | <property name="mnemonic_widget">GNUNET_GTK_open_url_dialog_anonymity_spin_button</property> |
74 | <property name="track_visited_links">False</property> | ||
71 | </object> | 75 | </object> |
72 | <packing> | 76 | <packing> |
73 | <property name="expand">False</property> | 77 | <property name="expand">False</property> |
74 | <property name="fill">False</property> | 78 | <property name="fill">False</property> |
79 | <property name="padding">5</property> | ||
75 | <property name="position">2</property> | 80 | <property name="position">2</property> |
76 | </packing> | 81 | </packing> |
77 | </child> | 82 | </child> |
@@ -79,12 +84,12 @@ | |||
79 | <object class="GtkSpinButton" id="GNUNET_GTK_open_url_dialog_anonymity_spin_button"> | 84 | <object class="GtkSpinButton" id="GNUNET_GTK_open_url_dialog_anonymity_spin_button"> |
80 | <property name="visible">True</property> | 85 | <property name="visible">True</property> |
81 | <property name="can_focus">True</property> | 86 | <property name="can_focus">True</property> |
82 | <property name="invisible_char">●</property> | 87 | <property name="invisible_char">●</property> |
83 | <property name="caps_lock_warning">False</property> | 88 | <property name="caps_lock_warning">False</property> |
84 | <property name="adjustment">GNUNET_GTK_open_url_anonymity_adjustment</property> | 89 | <property name="adjustment">GNUNET_GTK_open_url_anonymity_adjustment</property> |
85 | <property name="climb_rate">1</property> | 90 | <property name="climb_rate">1</property> |
86 | <property name="numeric">True</property> | 91 | <property name="numeric">True</property> |
87 | <signal name="value-changed" handler="GNUNET_GTK_anonymity_spin_button_value_changed_cb" swapped="no"/> | 92 | <signal name="value_changed" handler="GNUNET_GTK_anonymity_spin_button_value_changed_cb"/> |
88 | </object> | 93 | </object> |
89 | <packing> | 94 | <packing> |
90 | <property name="expand">False</property> | 95 | <property name="expand">False</property> |
@@ -110,7 +115,6 @@ | |||
110 | <property name="visible">True</property> | 115 | <property name="visible">True</property> |
111 | <property name="can_focus">True</property> | 116 | <property name="can_focus">True</property> |
112 | <property name="receives_default">True</property> | 117 | <property name="receives_default">True</property> |
113 | <property name="use_action_appearance">False</property> | ||
114 | <property name="use_stock">True</property> | 118 | <property name="use_stock">True</property> |
115 | </object> | 119 | </object> |
116 | <packing> | 120 | <packing> |
@@ -126,7 +130,6 @@ | |||
126 | <property name="sensitive">False</property> | 130 | <property name="sensitive">False</property> |
127 | <property name="can_focus">True</property> | 131 | <property name="can_focus">True</property> |
128 | <property name="receives_default">True</property> | 132 | <property name="receives_default">True</property> |
129 | <property name="use_action_appearance">False</property> | ||
130 | <property name="image">execute_stock_image</property> | 133 | <property name="image">execute_stock_image</property> |
131 | <property name="use_underline">True</property> | 134 | <property name="use_underline">True</property> |
132 | </object> | 135 | </object> |