1
by Umang Varma
Initial commit. Somewhat working sticky notes. |
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<interface>
|
|
3 |
<!-- interface-requires gtk+ 3.0 -->
|
|
4
by Umang Varma
GtkTextView->GtkSourceView (for undo/redo) |
4 |
<!-- interface-requires gtksourceview 3.0 -->
|
41
by Umang Varma
Added about dialog |
5 |
<object class="GtkAboutDialog" id="AboutWindow"> |
19
by Umang Varma
Moved buttons around |
6 |
<property name="can_focus">False</property> |
7 |
<property name="border_width">5</property> |
|
41
by Umang Varma
Added about dialog |
8 |
<property name="title" translatable="yes">About Indicator Stickynotes</property> |
9 |
<property name="modal">True</property> |
|
10 |
<property name="icon">Icons/indicator-stickynotes.png</property> |
|
19
by Umang Varma
Moved buttons around |
11 |
<property name="type_hint">dialog</property> |
41
by Umang Varma
Added about dialog |
12 |
<property name="program_name">Indicator Stickynotes</property> |
13 |
<property name="version">0.3</property> |
|
14 |
<property name="copyright">Copyright © 2012 Umang Varma</property> |
|
42
by Umang Varma
Added keyboard shortcuts to About dialog |
15 |
<property name="comments" translatable="yes">Please report bugs, contribute translations, and make suggestions on the Launchpad homepage below. |
16 |
||
17 |
Keyboard shortcuts: |
|
18 |
Ctrl + W: Delete note |
|
19 |
Ctrl + L: Lock note |
|
20 |
Ctrl + N: New note</property>
|
|
41
by Umang Varma
Added about dialog |
21 |
<property name="website">https://launchpad.net/indicator-stickynotes</property> |
22 |
<property name="website_label">https://launchpad.net/indicator-stickynotes</property> |
|
23 |
<property name="license">indicator-stickynotes is free software: you can redistribute it and/or |
|
24 |
modify it under the terms of the GNU General Public License as published by |
|
25 |
the Free Software Foundation, either version 3 of the License, or (at your |
|
26 |
option) any later version. |
|
27 |
||
28 |
indicator-stickynotes is distributed in the hope that it will be useful, but |
|
29 |
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
|
30 |
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
|
31 |
more details. |
|
32 |
||
33 |
You should have received a copy of the GNU General Public License along with |
|
34 |
indicator-stickynotes. If not, see <http://www.gnu.org/licenses/>.</property> |
|
35 |
<property name="authors">Umang Varma</property> |
|
36 |
<property name="translator_credits">Cenwen |
|
37 |
Roberto Rodriguez</property>
|
|
38 |
<property name="logo">Icons/indicator-stickynotes.png</property> |
|
39 |
<property name="wrap_license">True</property> |
|
19
by Umang Varma
Moved buttons around |
40 |
<child internal-child="vbox"> |
41
by Umang Varma
Added about dialog |
41 |
<object class="GtkBox" id="aboutdialog-vbox1"> |
19
by Umang Varma
Moved buttons around |
42 |
<property name="can_focus">False</property> |
43 |
<property name="orientation">vertical</property> |
|
44 |
<property name="spacing">2</property> |
|
45 |
<child internal-child="action_area"> |
|
41
by Umang Varma
Added about dialog |
46 |
<object class="GtkButtonBox" id="aboutdialog-action_area1"> |
19
by Umang Varma
Moved buttons around |
47 |
<property name="can_focus">False</property> |
48 |
<property name="layout_style">end</property> |
|
49 |
</object>
|
|
50 |
<packing>
|
|
51 |
<property name="expand">False</property> |
|
52 |
<property name="fill">True</property> |
|
53 |
<property name="pack_type">end</property> |
|
54 |
<property name="position">0</property> |
|
55 |
</packing>
|
|
56 |
</child>
|
|
41
by Umang Varma
Added about dialog |
57 |
<child>
|
58 |
<placeholder/>
|
|
59 |
</child>
|
|
19
by Umang Varma
Moved buttons around |
60 |
</object>
|
61 |
</child>
|
|
62 |
</object>
|
|
1
by Umang Varma
Initial commit. Somewhat working sticky notes. |
63 |
<object class="GtkWindow" id="MainWindow"> |
64 |
<property name="can_focus">False</property> |
|
9
by Umang Varma
Window title |
65 |
<property name="title" translatable="yes">Sticky Notes</property> |
1
by Umang Varma
Initial commit. Somewhat working sticky notes. |
66 |
<property name="default_width">200</property> |
67 |
<property name="default_height">200</property> |
|
68 |
<property name="hide_titlebar_when_maximized">True</property> |
|
69 |
<property name="type_hint">utility</property> |
|
70 |
<property name="skip_taskbar_hint">True</property> |
|
71 |
<property name="decorated">False</property> |
|
72 |
<signal name="destroy" handler="quit" swapped="no"/> |
|
73 |
<signal name="button-press-event" handler="move" swapped="no"/> |
|
32
by Umang Varma
Save more often so changes aren't lost |
74 |
<signal name="focus-out-event" handler="focus_out" swapped="no"/> |
1
by Umang Varma
Initial commit. Somewhat working sticky notes. |
75 |
<child>
|
76 |
<object class="GtkBox" id="mainBox"> |
|
77 |
<property name="visible">True</property> |
|
78 |
<property name="can_focus">False</property> |
|
79 |
<property name="orientation">vertical</property> |
|
80 |
<child>
|
|
81 |
<object class="GtkBox" id="topBox"> |
|
82 |
<property name="visible">True</property> |
|
83 |
<property name="can_focus">False</property> |
|
84 |
<signal name="button-press-event" handler="move" swapped="no"/> |
|
85 |
<child>
|
|
19
by Umang Varma
Moved buttons around |
86 |
<object class="GtkButton" id="bClose"> |
87 |
<property name="use_action_appearance">False</property> |
|
88 |
<property name="visible">True</property> |
|
89 |
<property name="can_focus">True</property> |
|
90 |
<property name="receives_default">True</property> |
|
40
by Umang Varma
Added keyboard shortcuts, tooltips for buttons |
91 |
<property name="tooltip_text" translatable="yes">Delete</property> |
19
by Umang Varma
Moved buttons around |
92 |
<property name="use_action_appearance">False</property> |
93 |
<property name="image">imgClose</property> |
|
94 |
<property name="relief">none</property> |
|
95 |
<property name="image_position">top</property> |
|
40
by Umang Varma
Added keyboard shortcuts, tooltips for buttons |
96 |
<accelerator key="w" signal="clicked" modifiers="GDK_CONTROL_MASK"/> |
19
by Umang Varma
Moved buttons around |
97 |
<signal name="clicked" handler="delete" swapped="no"/> |
98 |
</object>
|
|
99 |
<packing>
|
|
100 |
<property name="expand">False</property> |
|
101 |
<property name="fill">True</property> |
|
102 |
<property name="position">0</property> |
|
103 |
</packing>
|
|
104 |
</child>
|
|
105 |
<child>
|
|
1
by Umang Varma
Initial commit. Somewhat working sticky notes. |
106 |
<object class="GtkButton" id="bAdd"> |
107 |
<property name="use_action_appearance">False</property> |
|
108 |
<property name="visible">True</property> |
|
109 |
<property name="can_focus">True</property> |
|
110 |
<property name="receives_default">True</property> |
|
40
by Umang Varma
Added keyboard shortcuts, tooltips for buttons |
111 |
<property name="tooltip_text" translatable="yes">New Note</property> |
1
by Umang Varma
Initial commit. Somewhat working sticky notes. |
112 |
<property name="use_action_appearance">False</property> |
113 |
<property name="image">imgAdd</property> |
|
17
by Umang Varma
Improve UI |
114 |
<property name="relief">none</property> |
40
by Umang Varma
Added keyboard shortcuts, tooltips for buttons |
115 |
<accelerator key="n" signal="clicked" modifiers="GDK_CONTROL_MASK"/> |
1
by Umang Varma
Initial commit. Somewhat working sticky notes. |
116 |
<signal name="clicked" handler="add" swapped="no"/> |
117 |
</object>
|
|
118 |
<packing>
|
|
119 |
<property name="expand">False</property> |
|
120 |
<property name="fill">True</property> |
|
19
by Umang Varma
Moved buttons around |
121 |
<property name="pack_type">end</property> |
122 |
<property name="position">1</property> |
|
1
by Umang Varma
Initial commit. Somewhat working sticky notes. |
123 |
</packing>
|
124 |
</child>
|
|
125 |
<child>
|
|
12
by Umang Varma
Lock/unlock functionality |
126 |
<object class="GtkToggleButton" id="bLock"> |
1
by Umang Varma
Initial commit. Somewhat working sticky notes. |
127 |
<property name="use_action_appearance">False</property> |
128 |
<property name="visible">True</property> |
|
129 |
<property name="can_focus">True</property> |
|
130 |
<property name="receives_default">True</property> |
|
19
by Umang Varma
Moved buttons around |
131 |
<property name="margin_left">100</property> |
1
by Umang Varma
Initial commit. Somewhat working sticky notes. |
132 |
<property name="use_action_appearance">False</property> |
12
by Umang Varma
Lock/unlock functionality |
133 |
<property name="image">imgUnlock</property> |
17
by Umang Varma
Improve UI |
134 |
<property name="relief">none</property> |
135 |
<property name="draw_indicator">True</property> |
|
40
by Umang Varma
Added keyboard shortcuts, tooltips for buttons |
136 |
<accelerator key="l" signal="clicked" modifiers="GDK_CONTROL_MASK"/> |
12
by Umang Varma
Lock/unlock functionality |
137 |
<signal name="toggled" handler="lock_toggled" swapped="no"/> |
1
by Umang Varma
Initial commit. Somewhat working sticky notes. |
138 |
</object>
|
139 |
<packing>
|
|
140 |
<property name="expand">False</property> |
|
141 |
<property name="fill">True</property> |
|
142 |
<property name="pack_type">end</property> |
|
19
by Umang Varma
Moved buttons around |
143 |
<property name="position">2</property> |
1
by Umang Varma
Initial commit. Somewhat working sticky notes. |
144 |
</packing>
|
145 |
</child>
|
|
146 |
</object>
|
|
147 |
<packing>
|
|
148 |
<property name="expand">False</property> |
|
149 |
<property name="fill">True</property> |
|
150 |
<property name="position">0</property> |
|
151 |
</packing>
|
|
152 |
</child>
|
|
153 |
<child>
|
|
4
by Umang Varma
GtkTextView->GtkSourceView (for undo/redo) |
154 |
<object class="GtkSourceView" id="txtNote"> |
1
by Umang Varma
Initial commit. Somewhat working sticky notes. |
155 |
<property name="visible">True</property> |
156 |
<property name="can_focus">True</property> |
|
17
by Umang Varma
Improve UI |
157 |
<property name="has_focus">True</property> |
1
by Umang Varma
Initial commit. Somewhat working sticky notes. |
158 |
<property name="hexpand">True</property> |
159 |
<property name="vexpand">True</property> |
|
160 |
<property name="hscroll_policy">natural</property> |
|
161 |
<property name="vscroll_policy">natural</property> |
|
11
by Umang Varma
Use word wrap and delete eventbox |
162 |
<property name="wrap_mode">word</property> |
4
by Umang Varma
GtkTextView->GtkSourceView (for undo/redo) |
163 |
<property name="tab_width">4</property> |
164 |
<property name="indent_on_tab">False</property> |
|
1
by Umang Varma
Initial commit. Somewhat working sticky notes. |
165 |
</object>
|
166 |
<packing>
|
|
167 |
<property name="expand">False</property> |
|
168 |
<property name="fill">True</property> |
|
169 |
<property name="position">1</property> |
|
170 |
</packing>
|
|
171 |
</child>
|
|
172 |
<child>
|
|
173 |
<object class="GtkBox" id="box3"> |
|
174 |
<property name="visible">True</property> |
|
175 |
<property name="can_focus">False</property> |
|
176 |
<child>
|
|
177 |
<object class="GtkEventBox" id="eResizeR"> |
|
178 |
<property name="visible">True</property> |
|
179 |
<property name="can_focus">False</property> |
|
180 |
<signal name="button-press-event" handler="resize" swapped="no"/> |
|
181 |
<child>
|
|
182 |
<object class="GtkImage" id="imgResizeR"> |
|
183 |
<property name="visible">True</property> |
|
184 |
<property name="can_focus">False</property> |
|
7
by Umang Varma
New resize logo and added hover cursor |
185 |
<property name="pixbuf">Icons/fold.png</property> |
1
by Umang Varma
Initial commit. Somewhat working sticky notes. |
186 |
<signal name="button-press-event" handler="resize" swapped="no"/> |
187 |
</object>
|
|
188 |
</child>
|
|
189 |
</object>
|
|
190 |
<packing>
|
|
191 |
<property name="expand">False</property> |
|
192 |
<property name="fill">True</property> |
|
193 |
<property name="pack_type">end</property> |
|
194 |
<property name="position">1</property> |
|
195 |
</packing>
|
|
196 |
</child>
|
|
197 |
</object>
|
|
198 |
<packing>
|
|
199 |
<property name="expand">False</property> |
|
200 |
<property name="fill">True</property> |
|
201 |
<property name="position">2</property> |
|
202 |
</packing>
|
|
203 |
</child>
|
|
204 |
</object>
|
|
205 |
</child>
|
|
206 |
</object>
|
|
41
by Umang Varma
Added about dialog |
207 |
<object class="GtkMessageDialog" id="confirmDelete"> |
208 |
<property name="can_focus">False</property> |
|
209 |
<property name="border_width">5</property> |
|
210 |
<property name="title" translatable="yes">Confirm delete</property> |
|
211 |
<property name="type_hint">dialog</property> |
|
212 |
<property name="skip_taskbar_hint">True</property> |
|
213 |
<property name="message_type">warning</property> |
|
214 |
<property name="text" translatable="yes">Are you sure you want to delete this note?</property> |
|
215 |
<child internal-child="vbox"> |
|
216 |
<object class="GtkBox" id="messagedialog-vbox1"> |
|
217 |
<property name="can_focus">False</property> |
|
218 |
<property name="orientation">vertical</property> |
|
219 |
<property name="spacing">2</property> |
|
220 |
<child internal-child="action_area"> |
|
221 |
<object class="GtkButtonBox" id="messagedialog-action_area1"> |
|
222 |
<property name="can_focus">False</property> |
|
223 |
<property name="layout_style">end</property> |
|
224 |
<child>
|
|
225 |
<object class="GtkButton" id="bCancel"> |
|
226 |
<property name="label">gtk-cancel</property> |
|
227 |
<property name="use_action_appearance">False</property> |
|
228 |
<property name="visible">True</property> |
|
229 |
<property name="can_focus">True</property> |
|
230 |
<property name="receives_default">True</property> |
|
231 |
<property name="use_action_appearance">False</property> |
|
232 |
<property name="use_stock">True</property> |
|
233 |
</object>
|
|
234 |
<packing>
|
|
235 |
<property name="expand">False</property> |
|
236 |
<property name="fill">True</property> |
|
237 |
<property name="position">0</property> |
|
238 |
</packing>
|
|
239 |
</child>
|
|
240 |
<child>
|
|
241 |
<object class="GtkButton" id="bDelete"> |
|
242 |
<property name="label">gtk-delete</property> |
|
243 |
<property name="use_action_appearance">False</property> |
|
244 |
<property name="visible">True</property> |
|
245 |
<property name="can_focus">True</property> |
|
246 |
<property name="receives_default">True</property> |
|
247 |
<property name="use_action_appearance">False</property> |
|
248 |
<property name="use_stock">True</property> |
|
249 |
</object>
|
|
250 |
<packing>
|
|
251 |
<property name="expand">False</property> |
|
252 |
<property name="fill">True</property> |
|
253 |
<property name="position">1</property> |
|
254 |
</packing>
|
|
255 |
</child>
|
|
256 |
</object>
|
|
257 |
<packing>
|
|
258 |
<property name="expand">False</property> |
|
259 |
<property name="fill">True</property> |
|
260 |
<property name="pack_type">end</property> |
|
261 |
<property name="position">0</property> |
|
262 |
</packing>
|
|
263 |
</child>
|
|
264 |
</object>
|
|
265 |
</child>
|
|
266 |
<action-widgets>
|
|
267 |
<action-widget response="0">bCancel</action-widget> |
|
268 |
<action-widget response="1">bDelete</action-widget> |
|
269 |
</action-widgets>
|
|
270 |
</object>
|
|
271 |
<object class="GtkImage" id="imgAdd"> |
|
272 |
<property name="visible">True</property> |
|
273 |
<property name="can_focus">False</property> |
|
274 |
<property name="pixbuf">Icons/Add.png</property> |
|
275 |
</object>
|
|
276 |
<object class="GtkImage" id="imgClose"> |
|
277 |
<property name="visible">True</property> |
|
278 |
<property name="can_focus">False</property> |
|
279 |
<property name="pixbuf">Icons/Close.png</property> |
|
280 |
</object>
|
|
12
by Umang Varma
Lock/unlock functionality |
281 |
<object class="GtkImage" id="imgLock"> |
282 |
<property name="visible">True</property> |
|
283 |
<property name="can_focus">False</property> |
|
284 |
<property name="pixbuf">Icons/Lock.png</property> |
|
285 |
</object>
|
|
14
by Umang Varma
Added confirm delete functionality |
286 |
<object class="GtkImage" id="imgUnlock"> |
287 |
<property name="visible">True</property> |
|
288 |
<property name="can_focus">False</property> |
|
289 |
<property name="pixbuf">Icons/Unlock.png</property> |
|
290 |
</object>
|
|
1
by Umang Varma
Initial commit. Somewhat working sticky notes. |
291 |
</interface>
|