hotssh r14 - trunk/hotssh/hotlib_ui



Author: walters
Date: Thu Jul  3 15:16:16 2008
New Revision: 14
URL: http://svn.gnome.org/viewvc/hotssh?rev=14&view=rev

Log:
Remove dependency on hotwidgets


Modified:
   trunk/hotssh/hotlib_ui/quickfind.py

Modified: trunk/hotssh/hotlib_ui/quickfind.py
==============================================================================
--- trunk/hotssh/hotlib_ui/quickfind.py	(original)
+++ trunk/hotssh/hotlib_ui/quickfind.py	Thu Jul  3 15:16:16 2008
@@ -66,10 +66,15 @@
         colidx = self.__results.insert_column_with_data_func(-1, '',
                                                              gtk.CellRendererPixbuf(),
                                                              self.__render_icon)
+        renderer = gtk.CellRendererText()
+        renderer.set_property('ellipsize', True)
         colidx = self.__results.insert_column_with_data_func(-1, '',
-                                                             hotwidgets.CellRendererText(ellipsize=True),
-                                                             self.__render_match)        
-        self.__vbox.pack_start(hotwidgets.Border(self.__scroll), expand=True)
+                                                             renderer,
+                                                             self.__render_match)
+        frame = gtk.Frame()
+        frame.set_shadow_type(gtk.SHADOW_ETCHED_IN)
+        frame.add(self.__scroll)
+        self.__vbox.pack_start(frame, expand=True)
         self.__selection = self.__results.get_selection()
         self.__selection.set_mode(gtk.SELECTION_SINGLE)
         self.__selection.connect('changed', self.__on_selection_changed)



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