Awn

Merge lp:~albyrock87/awn/awn-lucido into lp:awn/0.4

Proposed by Alberto Aldegheri
Status: Merged
Merged at revision: 716
Proposed branch: lp:~albyrock87/awn/awn-lucido
Merge into: lp:awn/0.4
Diff against target: 548 lines (+153/-64)
5 files modified
applets/taskmanager/task-icon-build-context-menus.c (+4/-4)
awn-settings/awnClass.py (+13/-19)
awn-settings/awnSettings.py.in (+6/-6)
po/avant-window-navigator.pot (+120/-33)
src/awn-background-lucido.c (+10/-2)
To merge this branch: bzr merge lp:~albyrock87/awn/awn-lucido
Reviewer Review Type Date Requested Status
Awn-core Pending
Review via email: mp+31000@code.launchpad.net

Description of the change

- Better starting animation for Lucido Style
- Some Translation patches for bug #608927
- Fixed critical on Lucdio start

To post a comment you must log in.
Revision history for this message
Michal Hruby (mhr3) wrote :

Is the refresh method even called by anything now? If not it should be just removed.

Revision history for this message
Michal Hruby (mhr3) wrote :

RE: 126 - Please use printf-style string, not every language has to use the dir name as first word.

lp:~albyrock87/awn/awn-lucido updated
766. By Alberto <alby@CASA>

Remove unused refresh method from awnClass.py. A little fix to a translation string.

Revision history for this message
Alberto Aldegheri (albyrock87) wrote :

> Is the refresh method even called by anything now? If not it should be just removed.
> RE: 126 - Please use printf-style string, not every language has to use the
> dir name as first word.

Done :) thank you for review!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'applets/taskmanager/task-icon-build-context-menus.c'
--- applets/taskmanager/task-icon-build-context-menus.c 2010-07-19 22:41:03 +0000
+++ applets/taskmanager/task-icon-build-context-menus.c 2010-08-04 20:12:46 +0000
@@ -812,7 +812,7 @@
812 {812 {
813 continue;813 continue;
814 }814 }
815 menuitem = gtk_image_menu_item_new_with_label ("Minimize all");815 menuitem = gtk_image_menu_item_new_with_label (_("Minimize all"));
816 gtk_widget_show (menuitem);816 gtk_widget_show (menuitem);
817 g_signal_connect (menuitem,"activate",G_CALLBACK(_minimize_all_cb),icon);817 g_signal_connect (menuitem,"activate",G_CALLBACK(_minimize_all_cb),icon);
818 }818 }
@@ -848,7 +848,7 @@
848 {848 {
849 continue;849 continue;
850 }850 }
851 menuitem = gtk_image_menu_item_new_with_label ("Unminimize all");851 menuitem = gtk_image_menu_item_new_with_label (_("Unminimize all"));
852 gtk_widget_show (menuitem);852 gtk_widget_show (menuitem);
853 g_signal_connect (menuitem,"activate",G_CALLBACK(_unminimize_all_cb),icon);853 g_signal_connect (menuitem,"activate",G_CALLBACK(_unminimize_all_cb),icon);
854 }854 }
@@ -884,7 +884,7 @@
884 {884 {
885 continue;885 continue;
886 }886 }
887 menuitem = gtk_image_menu_item_new_with_label ("Maximize all");887 menuitem = gtk_image_menu_item_new_with_label (_("Maximize all"));
888 gtk_widget_show (menuitem);888 gtk_widget_show (menuitem);
889 g_signal_connect (menuitem,"activate",G_CALLBACK(_maximize_all_cb),icon);889 g_signal_connect (menuitem,"activate",G_CALLBACK(_maximize_all_cb),icon);
890 }890 }
@@ -920,7 +920,7 @@
920 {920 {
921 continue;921 continue;
922 }922 }
923 menuitem = gtk_image_menu_item_new_with_label ("Unmaximize all");923 menuitem = gtk_image_menu_item_new_with_label (_("Unmaximize all"));
924 gtk_widget_show (menuitem);924 gtk_widget_show (menuitem);
925 g_signal_connect (menuitem,"activate",G_CALLBACK(_unmaximize_all_cb),icon);925 g_signal_connect (menuitem,"activate",G_CALLBACK(_unmaximize_all_cb),icon);
926 }926 }
927927
=== modified file 'awn-settings/awnClass.py'
--- awn-settings/awnClass.py 2010-07-19 22:28:12 +0000
+++ awn-settings/awnClass.py 2010-08-04 20:12:46 +0000
@@ -1061,13 +1061,6 @@
1061 def changeTab(self, iconView):1061 def changeTab(self, iconView):
1062 self.notebook.set_current_page(iconView.get_cursor()[0][0])1062 self.notebook.set_current_page(iconView.get_cursor()[0][0])
10631063
1064 def refresh(self, button):
1065 dialog = gtk.MessageDialog(self.window, 0, gtk.MESSAGE_INFO,
1066 gtk.BUTTONS_OK,
1067 _('AWN has been successfully refreshed'))
1068 dialog.run()
1069 dialog.hide()
1070
1071 def about(self, button):1064 def about(self, button):
1072 self.about = gtk.AboutDialog()1065 self.about = gtk.AboutDialog()
1073 self.about.set_name(_("Avant Window Navigator"))1066 self.about.set_name(_("Avant Window Navigator"))
@@ -1221,7 +1214,7 @@
1221 dialog.set_default_response(gtk.RESPONSE_OK)1214 dialog.set_default_response(gtk.RESPONSE_OK)
12221215
1223 filter = gtk.FileFilter()1216 filter = gtk.FileFilter()
1224 filter.set_name("AWN Applet Package")1217 filter.set_name(_("Awn Applet Package"))
1225 filter.add_pattern("*.tar.gz")1218 filter.add_pattern("*.tar.gz")
1226 filter.add_pattern("*.tgz")1219 filter.add_pattern("*.tgz")
1227 filter.add_pattern("*.bz2")1220 filter.add_pattern("*.bz2")
@@ -1266,7 +1259,7 @@
1266 else:1259 else:
1267 self.register_applet(appletpath, False, applet_exists)1260 self.register_applet(appletpath, False, applet_exists)
1268 else:1261 else:
1269 message = "Applet Installation Failed"1262 message = _("Applet Installation Failed")
1270 success = gtk.MessageDialog(parent=None, flags=0, type=gtk.MESSAGE_WARNING, buttons=gtk.BUTTONS_OK, message_format=message)1263 success = gtk.MessageDialog(parent=None, flags=0, type=gtk.MESSAGE_WARNING, buttons=gtk.BUTTONS_OK, message_format=message)
1271 success.run()1264 success.run()
1272 success.destroy()1265 success.destroy()
@@ -1278,7 +1271,7 @@
1278 model = self.appmodel1271 model = self.appmodel
12791272
1280 if applet_exists:1273 if applet_exists:
1281 message = "Applet Successfully Updated"1274 message = _("Applet Successfully Updated")
1282 else:1275 else:
1283 icon, text, name = self.make_row (appletpath)1276 icon, text, name = self.make_row (appletpath)
1284 if len (text) > 2:1277 if len (text) > 2:
@@ -1294,9 +1287,9 @@
1294 model.set_value (row, 3, name)1287 model.set_value (row, 3, name)
12951288
1296 if msg:1289 if msg:
1297 message = "Applet Successfully Added"1290 message = _("Applet Successfully Added")
1298 else:1291 else:
1299 message = "Applet Installation Failed"1292 message = _("Applet Installation Failed")
13001293
1301 if msg:1294 if msg:
1302 success = gtk.MessageDialog(parent=None, flags=0, type=gtk.MESSAGE_WARNING, buttons=gtk.BUTTONS_OK, message_format=message)1295 success = gtk.MessageDialog(parent=None, flags=0, type=gtk.MESSAGE_WARNING, buttons=gtk.BUTTONS_OK, message_format=message)
@@ -1346,15 +1339,15 @@
13461339
1347 self.active_model.foreach(self.test_active, path)1340 self.active_model.foreach(self.test_active, path)
1348 if self.active_found:1341 if self.active_found:
1349 self.popup_msg("Can not delete active applet")1342 self.popup_msg(_("Can not delete active applet"))
1350 return1343 return
13511344
1352 dialog = gtk.Dialog("Delete Applet",1345 dialog = gtk.Dialog(_("Delete Applet"),
1353 None,1346 None,
1354 gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT,1347 gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT,
1355 (gtk.STOCK_CANCEL, gtk.RESPONSE_REJECT,1348 (gtk.STOCK_CANCEL, gtk.RESPONSE_REJECT,
1356 gtk.STOCK_OK, gtk.RESPONSE_ACCEPT))1349 gtk.STOCK_OK, gtk.RESPONSE_ACCEPT))
1357 label = gtk.Label("<b>Delete %s?</b>" % item.getName())1350 label = gtk.Label(_("<b>Delete %s?</b>") % item.getName())
1358 label.set_use_markup(True)1351 label.set_use_markup(True)
1359 align = gtk.Alignment()1352 align = gtk.Alignment()
1360 align.set_padding(5,5,5,5)1353 align.set_padding(5,5,5,5)
@@ -1374,7 +1367,7 @@
1374 dialog.destroy()1367 dialog.destroy()
1375 else:1368 else:
1376 dialog.destroy()1369 dialog.destroy()
1377 self.popup_msg("Unable to Delete Applet")1370 self.popup_msg(_("Unable to Delete Applet"))
1378 else:1371 else:
1379 dialog.destroy()1372 dialog.destroy()
1380 1373
@@ -1580,7 +1573,8 @@
1580 shutil.rmtree(themedir)1573 shutil.rmtree(themedir)
1581 if os.path.exists(themedir):1574 if os.path.exists(themedir):
1582 self.hide_export_dialog(None)1575 self.hide_export_dialog(None)
1583 msg = themedir+" already exists, unable to export theme."1576 # Translators: This string is preceded by a filename
1577 msg = _("%s already exists, unable to export theme.") % (themedir)
1584 self.theme_message(msg)1578 self.theme_message(msg)
1585 return1579 return
15861580
@@ -1656,7 +1650,7 @@
1656 themedir = os.path.join(defs.HOME_THEME_DIR, filename)1650 themedir = os.path.join(defs.HOME_THEME_DIR, filename)
1657 1651
1658 if os.path.exists(themefile):1652 if os.path.exists(themefile):
1659 msg = "Theme already installed, do you wish to overwrite it?"1653 msg = _("Theme already installed, do you wish to overwrite it?")
1660 message = gtk.MessageDialog(parent=None, flags=0, type=gtk.MESSAGE_WARNING, buttons=gtk.BUTTONS_YES_NO, message_format=msg)1654 message = gtk.MessageDialog(parent=None, flags=0, type=gtk.MESSAGE_WARNING, buttons=gtk.BUTTONS_YES_NO, message_format=msg)
1661 resp = message.run()1655 resp = message.run()
1662 if resp != gtk.RESPONSE_YES:1656 if resp != gtk.RESPONSE_YES:
@@ -1690,7 +1684,7 @@
1690 f.close()1684 f.close()
1691 self.add_uris_to_model(self.treeview_themes.get_model(),[themefile])1685 self.add_uris_to_model(self.treeview_themes.get_model(),[themefile])
1692 else:1686 else:
1693 msg = "This is an incompatible theme file."1687 msg = _("This is an incompatible theme file.")
1694 self.theme_message(msg)1688 self.theme_message(msg)
1695 1689
1696 def delete_theme(self):1690 def delete_theme(self):
16971691
=== modified file 'awn-settings/awnSettings.py.in'
--- awn-settings/awnSettings.py.in 2010-07-19 22:28:12 +0000
+++ awn-settings/awnSettings.py.in 2010-08-04 20:12:46 +0000
@@ -626,7 +626,7 @@
626 self.custom_arrow_chooser.set_filename(filename)626 self.custom_arrow_chooser.set_filename(filename)
627 self.custom_arrow_chooser.connect('file-set', self.arrow_select_callback)627 self.custom_arrow_chooser.connect('file-set', self.arrow_select_callback)
628 filter = gtk.FileFilter()628 filter = gtk.FileFilter()
629 filter.set_name("PNG Image")629 filter.set_name(_("PNG Image"))
630 filter.add_pattern("*.png")630 filter.add_pattern("*.png")
631 self.custom_arrow_chooser.add_filter(filter)631 self.custom_arrow_chooser.add_filter(filter)
632 self.custom_arrow_chooser.set_filter(filter)632 self.custom_arrow_chooser.set_filter(filter)
@@ -638,7 +638,7 @@
638 self.pattern_chooser.set_filename(filename)638 self.pattern_chooser.set_filename(filename)
639 self.pattern_chooser.connect('file-set', self.pattern_select_callback)639 self.pattern_chooser.connect('file-set', self.pattern_select_callback)
640 filter = gtk.FileFilter()640 filter = gtk.FileFilter()
641 filter.set_name("Images")641 filter.set_name(_("Images"))
642 filter.add_pattern("*.png")642 filter.add_pattern("*.png")
643 filter.add_pattern("*.svg")643 filter.add_pattern("*.svg")
644 filter.add_pattern("*.xpm")644 filter.add_pattern("*.xpm")
@@ -756,7 +756,7 @@
756756
757 filename = "".join([x for x in name if x.isalpha() or x.isdigit()])757 filename = "".join([x for x in name if x.isalpha() or x.isdigit()])
758 758
759 fc = gtk.FileChooserDialog(title='Save Theme...',759 fc = gtk.FileChooserDialog(title=_('Save Theme...'),
760 parent=None,760 parent=None,
761 action=gtk.FILE_CHOOSER_ACTION_SAVE,761 action=gtk.FILE_CHOOSER_ACTION_SAVE,
762 buttons=(gtk.STOCK_CANCEL,gtk.RESPONSE_CANCEL,gtk.STOCK_SAVE,gtk.RESPONSE_OK))762 buttons=(gtk.STOCK_CANCEL,gtk.RESPONSE_CANCEL,gtk.STOCK_SAVE,gtk.RESPONSE_OK))
@@ -765,7 +765,7 @@
765 fc.set_current_name(filename+'.tgz')765 fc.set_current_name(filename+'.tgz')
766 fc.set_do_overwrite_confirmation(True)766 fc.set_do_overwrite_confirmation(True)
767 filter = gtk.FileFilter()767 filter = gtk.FileFilter()
768 filter.set_name('Awn Theme')768 filter.set_name(_('Awn Theme'))
769 filter.add_pattern('*.tgz')769 filter.add_pattern('*.tgz')
770 fc.add_filter(filter)770 fc.add_filter(filter)
771 response = fc.run()771 response = fc.run()
@@ -880,7 +880,7 @@
880 return state880 return state
881 881
882 def tooltip_font_name_callback(self, data=None):882 def tooltip_font_name_callback(self, data=None):
883 fontselect = gtk.FontSelectionDialog('Select Tooltip Font') 883 fontselect = gtk.FontSelectionDialog(_('Select Tooltip Font'))
884 fontselect.set_font_name(fontname)884 fontselect.set_font_name(fontname)
885 885
886 def update_view_themes(self, data=None):886 def update_view_themes(self, data=None):
@@ -920,7 +920,7 @@
920 dialog.set_default_response(gtk.RESPONSE_OK)920 dialog.set_default_response(gtk.RESPONSE_OK)
921 921
922 filter = gtk.FileFilter()922 filter = gtk.FileFilter()
923 filter.set_name("AWN Theme File")923 filter.set_name(_("Awn Theme File"))
924 filter.add_pattern("*.tar.gz")924 filter.add_pattern("*.tar.gz")
925 filter.add_pattern("*.tgz")925 filter.add_pattern("*.tgz")
926 dialog.add_filter(filter)926 dialog.add_filter(filter)
927927
=== modified file 'po/avant-window-navigator.pot'
--- po/avant-window-navigator.pot 2010-07-19 22:28:12 +0000
+++ po/avant-window-navigator.pot 2010-08-04 20:12:46 +0000
@@ -8,7 +8,7 @@
8msgstr ""8msgstr ""
9"Project-Id-Version: PACKAGE VERSION\n"9"Project-Id-Version: PACKAGE VERSION\n"
10"Report-Msgid-Bugs-To: \n"10"Report-Msgid-Bugs-To: \n"
11"POT-Creation-Date: 2010-07-07 11:06+0200\n"11"POT-Creation-Date: 2010-08-04 22:05+0200\n"
12"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"12"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"13"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14"Language-Team: LANGUAGE <LL@li.org>\n"14"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -161,7 +161,7 @@
161msgstr ""161msgstr ""
162162
163#: ../applets/taskmanager/task-launcher.c:1109163#: ../applets/taskmanager/task-launcher.c:1109
164#: ../applets/taskmanager/task-icon-build-context-menus.c:955164#: ../applets/taskmanager/task-icon-build-context-menus.c:1020
165msgid "Launch"165msgid "Launch"
166msgstr ""166msgstr ""
167167
@@ -234,63 +234,83 @@
234msgid "Workspace %s%d"234msgid "Workspace %s%d"
235msgstr ""235msgstr ""
236236
237#: ../applets/taskmanager/task-icon-build-context-menus.c:657237#: ../applets/taskmanager/task-icon-build-context-menus.c:683
238msgid "Add as Launcher"238msgid "Add as Launcher"
239msgstr ""239msgstr ""
240240
241#: ../applets/taskmanager/task-icon-build-context-menus.c:675241#: ../applets/taskmanager/task-icon-build-context-menus.c:722
242msgid "Remove Launcher"
243msgstr ""
244
245#: ../applets/taskmanager/task-icon-build-context-menus.c:740
242msgid "_Close"246msgid "_Close"
243msgstr ""247msgstr ""
244248
245#: ../applets/taskmanager/task-icon-build-context-menus.c:703249#: ../applets/taskmanager/task-icon-build-context-menus.c:768
246msgid "_Close All"250msgid "_Close All"
247msgstr ""251msgstr ""
248252
249#: ../applets/taskmanager/task-icon-build-context-menus.c:872253#: ../applets/taskmanager/task-icon-build-context-menus.c:815
254msgid "Minimize all"
255msgstr ""
256
257#: ../applets/taskmanager/task-icon-build-context-menus.c:851
258msgid "Unminimize all"
259msgstr ""
260
261#: ../applets/taskmanager/task-icon-build-context-menus.c:887
262msgid "Maximize all"
263msgstr ""
264
265#: ../applets/taskmanager/task-icon-build-context-menus.c:923
266msgid "Unmaximize all"
267msgstr ""
268
269#: ../applets/taskmanager/task-icon-build-context-menus.c:937
250msgid "Ma_ximize"270msgid "Ma_ximize"
251msgstr ""271msgstr ""
252272
253#: ../applets/taskmanager/task-icon-build-context-menus.c:877273#: ../applets/taskmanager/task-icon-build-context-menus.c:942
254msgid "Unma_ximize"274msgid "Unma_ximize"
255msgstr ""275msgstr ""
256276
257#: ../applets/taskmanager/task-icon-build-context-menus.c:905277#: ../applets/taskmanager/task-icon-build-context-menus.c:970
258msgid "Always on _Top"278msgid "Always on _Top"
259msgstr ""279msgstr ""
260280
261#: ../applets/taskmanager/task-icon-build-context-menus.c:929281#: ../applets/taskmanager/task-icon-build-context-menus.c:994
262msgid "Mi_nimize"282msgid "Mi_nimize"
263msgstr ""283msgstr ""
264284
265#: ../applets/taskmanager/task-icon-build-context-menus.c:934285#: ../applets/taskmanager/task-icon-build-context-menus.c:999
266msgid "Unmi_nimize"286msgid "Unmi_nimize"
267msgstr ""287msgstr ""
268288
269#: ../applets/taskmanager/task-icon-build-context-menus.c:988289#: ../applets/taskmanager/task-icon-build-context-menus.c:1053
270msgid "Always on Visible Workspace"290msgid "Always on Visible Workspace"
271msgstr ""291msgstr ""
272292
273#: ../applets/taskmanager/task-icon-build-context-menus.c:992293#: ../applets/taskmanager/task-icon-build-context-menus.c:1057
274msgid "Only on This Workspace"294msgid "Only on This Workspace"
275msgstr ""295msgstr ""
276296
277#: ../applets/taskmanager/task-icon-build-context-menus.c:1081297#: ../applets/taskmanager/task-icon-build-context-menus.c:1146
278msgid "Move to Workspace _Left"298msgid "Move to Workspace _Left"
279msgstr ""299msgstr ""
280300
281#: ../applets/taskmanager/task-icon-build-context-menus.c:1091301#: ../applets/taskmanager/task-icon-build-context-menus.c:1156
282msgid "Move to Workspace _Right"302msgid "Move to Workspace _Right"
283msgstr ""303msgstr ""
284304
285#: ../applets/taskmanager/task-icon-build-context-menus.c:1101305#: ../applets/taskmanager/task-icon-build-context-menus.c:1166
286msgid "Move to Workspace _Up"306msgid "Move to Workspace _Up"
287msgstr ""307msgstr ""
288308
289#: ../applets/taskmanager/task-icon-build-context-menus.c:1111309#: ../applets/taskmanager/task-icon-build-context-menus.c:1176
290msgid "Move to Workspace _Down"310msgid "Move to Workspace _Down"
291msgstr ""311msgstr ""
292312
293#: ../applets/taskmanager/task-icon-build-context-menus.c:1120313#: ../applets/taskmanager/task-icon-build-context-menus.c:1185
294msgid "Move to Another _Workspace"314msgid "Move to Another _Workspace"
295msgstr ""315msgstr ""
296316
@@ -686,11 +706,11 @@
686msgstr ""706msgstr ""
687707
688#: ../awn-settings/awn-settings.ui.h:99708#: ../awn-settings/awn-settings.ui.h:99
689msgid "Stripe Width"709msgid "Theme Export"
690msgstr ""710msgstr ""
691711
692#: ../awn-settings/awn-settings.ui.h:100712#: ../awn-settings/awn-settings.ui.h:100
693msgid "Theme Export"713msgid "Thickness"
694msgstr ""714msgstr ""
695715
696#: ../awn-settings/awn-settings.ui.h:101716#: ../awn-settings/awn-settings.ui.h:101
@@ -817,20 +837,16 @@
817msgid "Could not locate the following icon: %s\n"837msgid "Could not locate the following icon: %s\n"
818msgstr ""838msgstr ""
819839
820#: ../awn-settings/awnClass.py:1067840#: ../awn-settings/awnClass.py:1066
821msgid "AWN has been successfully refreshed"
822msgstr ""
823
824#: ../awn-settings/awnClass.py:1073
825#: ../data/avant-window-navigator.desktop.in.h:2841#: ../data/avant-window-navigator.desktop.in.h:2
826msgid "Avant Window Navigator"842msgid "Avant Window Navigator"
827msgstr ""843msgstr ""
828844
829#: ../awn-settings/awnClass.py:1091845#: ../awn-settings/awnClass.py:1084
830msgid "Fully customisable dock-like window navigator for GNOME."846msgid "Fully customisable dock-like window navigator for GNOME."
831msgstr ""847msgstr ""
832848
833#: ../awn-settings/awnClass.py:1093849#: ../awn-settings/awnClass.py:1086
834msgid ""850msgid ""
835"This program is free software; you can redistribute it and/or modify it "851"This program is free software; you can redistribute it and/or modify it "
836"under the terms of the GNU General Public License as published by the Free "852"under the terms of the GNU General Public License as published by the Free "
@@ -838,7 +854,7 @@
838"any later version."854"any later version."
839msgstr ""855msgstr ""
840856
841#: ../awn-settings/awnClass.py:1095857#: ../awn-settings/awnClass.py:1088
842msgid ""858msgid ""
843"This program is distributed in the hope that it will be useful, but WITHOUT "859"This program is distributed in the hope that it will be useful, but WITHOUT "
844"ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "860"ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
@@ -846,13 +862,60 @@
846"more details."862"more details."
847msgstr ""863msgstr ""
848864
849#: ../awn-settings/awnClass.py:1097865#: ../awn-settings/awnClass.py:1090
850msgid ""866msgid ""
851"You should have received a copy of the GNU General Public License along with "867"You should have received a copy of the GNU General Public License along with "
852"this program; if not, write to the Free Software Foundation, Inc., 51 "868"this program; if not, write to the Free Software Foundation, Inc., 51 "
853"Franklin St, Fifth Floor, Boston, MA 02110-1301 USA."869"Franklin St, Fifth Floor, Boston, MA 02110-1301 USA."
854msgstr ""870msgstr ""
855871
872#: ../awn-settings/awnClass.py:1217
873msgid "Awn Applet Package"
874msgstr ""
875
876#: ../awn-settings/awnClass.py:1262 ../awn-settings/awnClass.py:1292
877msgid "Applet Installation Failed"
878msgstr ""
879
880#: ../awn-settings/awnClass.py:1274
881msgid "Applet Successfully Updated"
882msgstr ""
883
884#: ../awn-settings/awnClass.py:1290
885msgid "Applet Successfully Added"
886msgstr ""
887
888#: ../awn-settings/awnClass.py:1342
889msgid "Can not delete active applet"
890msgstr ""
891
892#: ../awn-settings/awnClass.py:1345
893msgid "Delete Applet"
894msgstr ""
895
896#: ../awn-settings/awnClass.py:1350
897#, python-format
898msgid "<b>Delete %s?</b>"
899msgstr ""
900
901#: ../awn-settings/awnClass.py:1370
902msgid "Unable to Delete Applet"
903msgstr ""
904
905#. Translators: This string is preceded by a filename
906#: ../awn-settings/awnClass.py:1577
907#, python-format
908msgid "%s already exists, unable to export theme."
909msgstr ""
910
911#: ../awn-settings/awnClass.py:1653
912msgid "Theme already installed, do you wish to overwrite it?"
913msgstr ""
914
915#: ../awn-settings/awnClass.py:1687
916msgid "This is an incompatible theme file."
917msgstr ""
918
856#: ../awn-settings/awnSettings.py.in:71919#: ../awn-settings/awnSettings.py.in:71
857msgid "Awn Settings can't be run as root."920msgid "Awn Settings can't be run as root."
858msgstr ""921msgstr ""
@@ -925,6 +988,22 @@
925msgid "Keep below"988msgid "Keep below"
926msgstr ""989msgstr ""
927990
991#: ../awn-settings/awnSettings.py.in:629
992msgid "PNG Image"
993msgstr ""
994
995#: ../awn-settings/awnSettings.py.in:641
996msgid "Images"
997msgstr ""
998
999#: ../awn-settings/awnSettings.py.in:759
1000msgid "Save Theme..."
1001msgstr ""
1002
1003#: ../awn-settings/awnSettings.py.in:768
1004msgid "Awn Theme"
1005msgstr ""
1006
928#: ../awn-settings/awnSettings.py.in:7971007#: ../awn-settings/awnSettings.py.in:797
929msgid "Solid"1008msgid "Solid"
930msgstr ""1009msgstr ""
@@ -937,6 +1016,14 @@
937msgid "Outline, Reversed"1016msgid "Outline, Reversed"
938msgstr ""1017msgstr ""
9391018
1019#: ../awn-settings/awnSettings.py.in:883
1020msgid "Select Tooltip Font"
1021msgstr ""
1022
1023#: ../awn-settings/awnSettings.py.in:923
1024msgid "Awn Theme File"
1025msgstr ""
1026
940#: ../awn-settings/awnSettings.py.in:9901027#: ../awn-settings/awnSettings.py.in:990
941msgid "Use application-specified icons"1028msgid "Use application-specified icons"
942msgstr ""1029msgstr ""
@@ -1246,13 +1333,13 @@
1246msgstr ""1333msgstr ""
12471334
1248#: ../data/avant-window-navigator.schema-ini.in.in.h:581335#: ../data/avant-window-navigator.schema-ini.in.in.h:58
1336msgid "The thickness in 3D mode."
1337msgstr ""
1338
1339#: ../data/avant-window-navigator.schema-ini.in.in.h:59
1249msgid "The user-visible size of Awn."1340msgid "The user-visible size of Awn."
1250msgstr ""1341msgstr ""
12511342
1252#: ../data/avant-window-navigator.schema-ini.in.in.h:59
1253msgid "The width of the stripe in Lucido mode."
1254msgstr ""
1255
1256#: ../data/avant-window-navigator.schema-ini.in.in.h:601343#: ../data/avant-window-navigator.schema-ini.in.in.h:60
1257msgid "Time in ms after which AwnIcon will emit long-press signal."1344msgid "Time in ms after which AwnIcon will emit long-press signal."
1258msgstr ""1345msgstr ""
@@ -1316,6 +1403,6 @@
1316msgid "Whoops! The applet crashed. Click to restart it."1403msgid "Whoops! The applet crashed. Click to restart it."
1317msgstr ""1404msgstr ""
13181405
1319#: ../src/awn-panel.c:39601406#: ../src/awn-panel.c:3966
1320msgid "Close docklet"1407msgid "Close docklet"
1321msgstr ""1408msgstr ""
13221409
=== modified file 'src/awn-background-lucido.c'
--- src/awn-background-lucido.c 2010-07-24 23:29:53 +0000
+++ src/awn-background-lucido.c 2010-08-04 20:12:46 +0000
@@ -229,7 +229,7 @@
229awn_background_lucido_init (AwnBackgroundLucido *bg)229awn_background_lucido_init (AwnBackgroundLucido *bg)
230{230{
231 AwnBackgroundLucidoPrivate *priv = AWN_BACKGROUND_LUCIDO_GET_PRIVATE (bg);231 AwnBackgroundLucidoPrivate *priv = AWN_BACKGROUND_LUCIDO_GET_PRIVATE (bg);
232 priv->lastx = 0;232 priv->lastx = -1;
233 priv->lastxend = INT_MAX;233 priv->lastxend = INT_MAX;
234 priv->needs_animation = FALSE;234 priv->needs_animation = FALSE;
235 priv->tid = 0;235 priv->tid = 0;
@@ -342,6 +342,10 @@
342{342{
343 AwnAppletManager *manager = NULL;343 AwnAppletManager *manager = NULL;
344 g_object_get (bg->panel, "applet-manager", &manager, NULL);344 g_object_get (bg->panel, "applet-manager", &manager, NULL);
345 if (!manager)
346 {
347 return NULL;
348 }
345349
346 return gtk_container_get_children (GTK_CONTAINER (manager));350 return gtk_container_get_children (GTK_CONTAINER (manager));
347}351}
@@ -454,6 +458,10 @@
454 x += applet_manager_x - dc;458 x += applet_manager_x - dc;
455 }459 }
456 x = lroundf (x);460 x = lroundf (x);
461 if (priv->lastx == -1)
462 {
463 priv->lastx = x;
464 }
457 if (x != priv->lastx)465 if (x != priv->lastx)
458 {466 {
459 needs_animation = TRUE;467 needs_animation = TRUE;
@@ -616,7 +624,7 @@
616 if (priv->pos_size <= j)624 if (priv->pos_size <= j)
617 {625 {
618 /* New special applet found, resize the array */626 /* New special applet found, resize the array */
619 _add_n_positions (priv, 1, lx);627 _add_n_positions (priv, 1, MAX (lx, curx));
620 }628 }
621 /************************************************************************/629 /************************************************************************/
622 /***************** UPDATE SINGLE CURVE POSITION *********************/630 /***************** UPDATE SINGLE CURVE POSITION *********************/

Subscribers

People subscribed via source and target branches