Re: [Deskbar] Cuemiac in the panel



On Wed, 2006-02-08 at 23:56 +0100, Mikkel Kamstrup Erlandsen wrote:
> Attached is a version of the Cuemiac that has the text entry in the
> panel instead... This will need a lot of polish and testing...
> 
> To enable it, stick it in deskbar/ui/cuemiac/ and manually hardwire it
> in DeskbarEntry.py.

I've put up a patch to enable the file kamstrup just sent.
Could people test it ?

so:
1. apply patch attached
2. copy the CuemiacEntryInPanel.py into deskbar/ui/cuemiac/
3. Run ./deskbar-applet -wc (for window mode) or launch ./deskbar-applet
and add it to the panel, then choose the button UI..

Report problems, especially with focus.
We have problems in window mode, still investigating, in panel mode, it
looks fairly usable..

Raf
? deskbar-applet-addressbook-search.patch
? deskbar/ui/cuemiac/CuemiacEntryInPanelUI.py
Index: deskbar/DeskbarApplet.py
===================================================================
RCS file: /cvs/gnome/deskbar-applet/deskbar/DeskbarApplet.py,v
retrieving revision 1.31
diff -u -p -r1.31 DeskbarApplet.py
--- deskbar/DeskbarApplet.py	8 Feb 2006 18:33:44 -0000	1.31
+++ deskbar/DeskbarApplet.py	8 Feb 2006 23:40:38 -0000
@@ -14,6 +14,8 @@ from deskbar.DeskbarAppletPreferences im
 from deskbar.Keybinder import get_deskbar_keybinder
 from deskbar.ui.cuemiac.Cuemiac import CuemiacUI
 from deskbar.ui.completion.CompletionDeskbarUI import CompletionDeskbarUI
+from deskbar.ui.cuemiac.CuemiacEntryInPanelUI import CuemiacEntryInPanelUI
+
 
 class DeskbarApplet:
 	def __init__(self, applet):
@@ -55,7 +57,8 @@ class DeskbarApplet:
 		if ui_name == deskbar.COMPLETION_UI_NAME:
 			self.ui = CompletionDeskbarUI (applet, self.prefs)
 		elif ui_name == deskbar.CUEMIAC_UI_NAME:
-			self.ui = CuemiacUI (applet, self.prefs)
+			#self.ui = CuemiacUI (applet, self.prefs)
+			self.ui = CuemiacEntryInPanelUI(applet, self.prefs)
 			
 		# Set up the chosen UI
 		self.set_up_ui_signals ()
@@ -275,7 +278,8 @@ class DeskbarApplet:
 			ui_name = deskbar.COMPLETION_UI_NAME
 			
 		if ui_name == deskbar.CUEMIAC_UI_NAME:
-			self.ui = CuemiacUI (self.applet, self.prefs)
+		#	self.ui = CuemiacUI (self.applet, self.prefs)
+			self.ui = CuemiacEntryInPanelUI(self.applet, self.prefs)
 			
 		elif ui_name == deskbar.COMPLETION_UI_NAME:
 			self.ui = CompletionDeskbarUI (self.applet, self.prefs)


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