[gedit-latex] s/GtkComboBoxEntry/GtkComboBoxText/



commit 6b2b320729707fa07a3e5ec445adf44d33c6dd60
Author: John Stowers <john stowers gmail com>
Date:   Fri Jun 24 16:58:27 2011 +1200

    s/GtkComboBoxEntry/GtkComboBoxText/

 latex/latex/dialogs.py                    |    2 --
 latex/ui/use_bibliography_dialog.ui       |    4 +++-
 latex/ui/use_bibliography_multi_dialog.ui |    4 +++-
 3 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/latex/latex/dialogs.py b/latex/latex/dialogs.py
index e1c18ab..1d5977f 100644
--- a/latex/latex/dialogs.py
+++ b/latex/latex/dialogs.py
@@ -616,7 +616,6 @@ class UseBibliographyDialog(GladeInterface, PreviewRenderer):
 			
 			self._comboStyle = self.find_widget("comboboxStyle")
 			self._comboStyle.set_model(self._storeStyle)
-			self._comboStyle.set_text_column(0)
 			
 			try:
 				recent = styles.index(Preferences().get("RecentBibtexStyle", "plain"))
@@ -662,7 +661,6 @@ class UseBibliographyDialog(GladeInterface, PreviewRenderer):
 																													style))
 	def _on_render_succeeded(self, pixbuf):
 		# PreviewRenderer._on_render_succeeded
-		
 		self._imagePreview.set_from_pixbuf(pixbuf)
 		# remove the temp bib file
 		self._tempFile.close()
diff --git a/latex/ui/use_bibliography_dialog.ui b/latex/ui/use_bibliography_dialog.ui
index bd36fa2..65cd9fb 100644
--- a/latex/ui/use_bibliography_dialog.ui
+++ b/latex/ui/use_bibliography_dialog.ui
@@ -58,8 +58,10 @@
               </packing>
             </child>
             <child>
-              <object class="GtkComboBoxEntry" id="comboboxStyle">
+              <object class="GtkComboBoxText" id="comboboxStyle">
                 <property name="visible">True</property>
+                <property name="has_entry">True</property>
+                <property name="entry_text_column">0</property>
                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
                 <child internal-child="entry">
                   <object class="GtkEntry" id="comboboxentry-entry1">
diff --git a/latex/ui/use_bibliography_multi_dialog.ui b/latex/ui/use_bibliography_multi_dialog.ui
index 3a26d61..e907192 100644
--- a/latex/ui/use_bibliography_multi_dialog.ui
+++ b/latex/ui/use_bibliography_multi_dialog.ui
@@ -112,8 +112,10 @@
               </packing>
             </child>
             <child>
-              <object class="GtkComboBoxEntry" id="comboboxStyle">
+              <object class="GtkComboBoxText" id="comboboxStyle">
                 <property name="visible">True</property>
+                <property name="has_entry">True</property>
+                 <property name="entry_text_column">0</property>
                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
                 <child internal-child="entry">
                   <object class="GtkEntry" id="comboboxentry-entry1">



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]