Send Linux-ha-cvs mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Linux-ha-cvs digest..."


Today's Topics:

   1. Linux-HA CVS: mgmt by zhenh from 
      ([email protected])
   2. Linux-HA CVS: mgmt by zhenh from 
      ([email protected])
   3. Linux-HA CVS: mgmt by zhenh from 
      ([email protected])
   4. Linux-HA CVS: mgmt by zhenh from 
      ([email protected])


----------------------------------------------------------------------

Message: 1
Date: Mon, 10 Apr 2006 20:51:15 -0600 (MDT)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: mgmt by zhenh from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : zhenh
Host    : 
Project : linux-ha
Module  : mgmt

Dir     : linux-ha/mgmt/client


Modified Files:
        ha.png 


Log Message:
make the ha.png transparent
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/mgmt/client/ha.png,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
Binary files /tmp/cvs2YPXlv and /tmp/cvs6BqFtQ differ




------------------------------

Message: 2
Date: Mon, 10 Apr 2006 20:52:41 -0600 (MDT)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: mgmt by zhenh from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : zhenh
Host    : 
Project : linux-ha
Module  : mgmt

Dir     : linux-ha/mgmt/client


Added Files:
        active-node.png add-resource.png exit.png login.png logout.png 
        master-resource.png remove-resource.png slave-resource.png 
        standby-node.png start-resource.png stop-resource.png 


Log Message:
using our icons instead of gtk stock icons




------------------------------

Message: 3
Date: Mon, 10 Apr 2006 20:53:33 -0600 (MDT)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: mgmt by zhenh from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : zhenh
Host    : 
Project : linux-ha
Module  : mgmt

Dir     : linux-ha/mgmt/client


Modified Files:
        Makefile.am 


Log Message:
using our icons instead of gtk stock icons
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/mgmt/client/Makefile.am,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- Makefile.am 10 Apr 2006 00:39:42 -0000      1.11
+++ Makefile.am 11 Apr 2006 02:53:33 -0000      1.12
@@ -22,7 +22,9 @@
 
 halibdir               = $(libdir)/@HB_PKG@
 halib_SCRIPTS          = haclient.py mgmtcmd.py
-halib_DATA             = haclient.glade ha.png
+halib_DATA             = haclient.glade ha.png login.png logout.png exit.png \
+                         standby-node.png active-node.png add-resource.png 
remove-resource.png \
+                         start-resource.png stop-resource.png 
master-resource.png slave-resource.png
 
 INCLUDES               = -I$(top_builddir)/include  -I$(top_srcdir)/include \
                          -I$(top_builddir)/linux-ha -I$(top_srcdir)/linux-ha \




------------------------------

Message: 4
Date: Mon, 10 Apr 2006 20:54:12 -0600 (MDT)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: mgmt by zhenh from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : zhenh
Host    : 
Project : linux-ha
Module  : mgmt

Dir     : linux-ha/mgmt/client


Modified Files:
        haclient.py.in 


Log Message:
using our icons instead of gtk stock icons
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/mgmt/client/haclient.py.in,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- haclient.py.in      10 Apr 2006 06:26:21 -0000      1.24
+++ haclient.py.in      11 Apr 2006 02:54:12 -0000      1.25
@@ -1290,7 +1290,22 @@
                win_widget.set_title(_("Linux HA Management Client"))
                win_widget.set_size_request(750, 600)
                win_widget.set_icon_from_file("@libdir@/heartbeat/ha.png")
-               
+
+               # add the icons to gtk stock
+               icons = gtk.IconFactory()
+               
icons.add("ha-login",gtk.IconSet(gtk.gdk.pixbuf_new_from_file("@libdir@/heartbeat/login.png")))
+               
icons.add("ha-logout",gtk.IconSet(gtk.gdk.pixbuf_new_from_file("@libdir@/heartbeat/logout.png")))
+               
icons.add("ha-exit",gtk.IconSet(gtk.gdk.pixbuf_new_from_file("@libdir@/heartbeat/exit.png")))
+               
icons.add("ha-standby-node",gtk.IconSet(gtk.gdk.pixbuf_new_from_file("@libdir@/heartbeat/standby-node.png")))
+               
icons.add("ha-active-node",gtk.IconSet(gtk.gdk.pixbuf_new_from_file("@libdir@/heartbeat/active-node.png")))
+               
icons.add("ha-add-resource",gtk.IconSet(gtk.gdk.pixbuf_new_from_file("@libdir@/heartbeat/add-resource.png")))
+               
icons.add("ha-remove-resource",gtk.IconSet(gtk.gdk.pixbuf_new_from_file("@libdir@/heartbeat/remove-resource.png")))
+               
icons.add("ha-start-resource",gtk.IconSet(gtk.gdk.pixbuf_new_from_file("@libdir@/heartbeat/start-resource.png")))
+               
icons.add("ha-stop-resource",gtk.IconSet(gtk.gdk.pixbuf_new_from_file("@libdir@/heartbeat/stop-resource.png")))
+               
icons.add("ha-master-resource",gtk.IconSet(gtk.gdk.pixbuf_new_from_file("@libdir@/heartbeat/master-resource.png")))
+               
icons.add("ha-slave-resource",gtk.IconSet(gtk.gdk.pixbuf_new_from_file("@libdir@/heartbeat/slave-resource.png")))
+               icons.add_default()
+
                # create ui-manager
                ui_xml = '''
                <ui>
@@ -1321,14 +1336,14 @@
                actiongroup = gtk.ActionGroup('haclient')
                actiongroup.add_actions([
                        ('connection', None, _('Connection')),
-                       ('login', gtk.STOCK_NETWORK, _('Login...'), 
None,_('login to cluster'), self.on_login),
-                       ('logout', gtk.STOCK_STOP, _('Logout'), None,_('logout 
from cluster'), self.on_logout),
-                       ('quit', gtk.STOCK_QUIT, _('Quit'), None,_('Quit the 
Program'), self.on_quit),
+                       ('login', "ha-login", _('Login...'), None,_('login to 
cluster'), self.on_login),
+                       ('logout', "ha-logout", _('Logout'), None,_('logout 
from cluster'), self.on_logout),
+                       ('quit', "ha-exit", _('Quit'), None,_('Quit the 
Program'), self.on_quit),
                        ('action', None, _('Action')),
-                       ('addrsc', gtk.STOCK_ADD, _('Add New Item'), 
None,_('add new item'), self.on_add_item),
-                       ('delrsc', gtk.STOCK_DELETE, _('Delete'), 
None,_('delete current item'), self.on_del_item),
-                       ('standby', gtk.STOCK_NO, _('Standby'), None,_('make 
the node standby'), self.on_standby),
-                       ('active', gtk.STOCK_YES, _('Active'), None,_('make the 
node active'), self.on_active)
+                       ('addrsc', "ha-add-resource", _('Add New Item'), 
None,_('add new item'), self.on_add_item),
+                       ('delrsc', "ha-remove-resource", _('Delete'), 
None,_('delete current item'), self.on_del_item),
+                       ('standby', "ha-standby-node", _('Standby'), 
None,_('make the node standby'), self.on_standby),
+                       ('active', "ha-active-node", _('Active'), None,_('make 
the node active'), self.on_active)
                        ])
                uimanager.insert_action_group(actiongroup, 0)
                uimanager.add_ui_from_string(ui_xml)




------------------------------

_______________________________________________
Linux-ha-cvs mailing list
[email protected]
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs


End of Linux-ha-cvs Digest, Vol 29, Issue 70
********************************************

Reply via email to