preferences dialog gui updates

git-svn-id: svn://svn.berlios.de/gpodder/trunk@274 b0d088ad-0a06-0410-aad2-9ed5178a7e87
This commit is contained in:
Thomas Perl 2007-03-17 12:31:37 +00:00
parent 629c77b560
commit d23a9e8a1f
4 changed files with 14 additions and 49 deletions

View File

@ -1,3 +1,9 @@
Sat, 17 Mar 2007 13:30:37 +0100 <thp@perli.net>
* data/gpodder.glade: Update preferences dialog and main window's
"About" menu item to be (more) compliant to the GNOME HIG
specification 2.0
* src/gpodder/gpodder.py: Code changes for GUI update
Sat, 17 Mar 2007 13:07:06 +0100 <thp@perli.net>
* src/gpodder/libtagupdate.py: add tagging_supported() to report if
we can support tagging (dependent on python-eyed3 installed or not)

View File

@ -629,21 +629,9 @@
<child>
<widget class="GtkImageMenuItem" id="itemAbout">
<property name="visible">True</property>
<property name="label" translatable="yes">_About gPodder...</property>
<property name="use_underline">True</property>
<property name="label">gtk-about</property>
<property name="use_stock">True</property>
<signal name="activate" handler="on_itemAbout_activate" last_modification_time="Sat, 29 Oct 2005 11:40:19 GMT"/>
<child internal-child="image">
<widget class="GtkImage" id="image2330">
<property name="visible">True</property>
<property name="stock">gtk-about</property>
<property name="icon_size">1</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
</child>
</widget>
</child>
</widget>
@ -1937,11 +1925,11 @@
<widget class="GtkWindow" id="gPodderProperties">
<property name="visible">True</property>
<property name="title" translatable="yes">gPodder configuration</property>
<property name="title" translatable="yes">gPodder Preferences</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
<property name="modal">False</property>
<property name="resizable">True</property>
<property name="modal">True</property>
<property name="resizable">False</property>
<property name="destroy_with_parent">False</property>
<property name="decorated">True</property>
<property name="skip_taskbar_hint">False</property>
@ -2208,6 +2196,7 @@
<child>
<widget class="GtkCheckButton" id="updatetags">
<property name="visible">True</property>
<property name="tooltip" translatable="yes">Writes episode and channel info to the downloaded file's tag field (ID3 for MP3, vorbis tag for OGG, etc..)</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">Update tags on audio files after downloading</property>
<property name="use_underline">True</property>
@ -3189,7 +3178,7 @@ you can use the usual format of the environment variables:
<widget class="GtkButton" id="btnOK">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label">gtk-ok</property>
<property name="label">gtk-close</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
@ -3202,24 +3191,6 @@ you can use the usual format of the environment variables:
<property name="pack_type">GTK_PACK_END</property>
</packing>
</child>
<child>
<widget class="GtkButton" id="btnCancel">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label">gtk-cancel</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_btnCancel_clicked" last_modification_time="Sun, 08 Jan 2006 22:51:55 GMT"/>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="pack_type">GTK_PACK_END</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>

View File

@ -1120,7 +1120,6 @@ class Gpodderproperties(SimpleGladeApp):
self.comboPlayerApp.pack_start( cellrenderer, True)
self.comboPlayerApp.add_attribute( cellrenderer, 'markup', 0)
# end setup cell renderers
self.on_close = None
#-- Gpodderproperties.new }
#-- Gpodderproperties custom methods {
@ -1180,8 +1179,7 @@ class Gpodderproperties(SimpleGladeApp):
#-- Gpodderproperties.on_gPodderProperties_destroy {
def on_gPodderProperties_destroy(self, widget, *args):
if self.on_close != None:
self.on_close()
self.on_btnOK_clicked( widget, *args)
#-- Gpodderproperties.on_gPodderProperties_destroy }
#-- Gpodderproperties.on_comboPlayerApp_changed {
@ -1343,11 +1341,6 @@ class Gpodderproperties(SimpleGladeApp):
self.callback_finished()
#-- Gpodderproperties.on_btnOK_clicked }
#-- Gpodderproperties.on_btnCancel_clicked {
def on_btnCancel_clicked(self, widget, *args):
self.gPodderProperties.destroy()
#-- Gpodderproperties.on_btnCancel_clicked }
class Gpodderepisode(SimpleGladeApp):
def __init__(self, path="gpodder.glade",

View File

@ -281,11 +281,6 @@ class Gpodderproperties(SimpleGladeApp):
print "on_btnOK_clicked called with self.%s" % widget.get_name()
#-- Gpodderproperties.on_btnOK_clicked }
#-- Gpodderproperties.on_btnCancel_clicked {
def on_btnCancel_clicked(self, widget, *args):
print "on_btnCancel_clicked called with self.%s" % widget.get_name()
#-- Gpodderproperties.on_btnCancel_clicked }
class Gpodderepisode(SimpleGladeApp):