mintUpdate 1.2 is out!

Releases and other announcements
Forum rules
Section reserved for the team. You can reply to announcements here but not post new topics.

Postby merlwiz79 on Wed Oct 10, 2007 8:09 pm

I think this started when in Xubuntu I forced Firefox not to update to firefox mint.
In KDE CE I used forced version of libhal1 and libhal-storage1 so I can install the -dev of them.
I haven't done anything like that in Cassandra(Main) and mintUpdate 1.3 works fine.
User avatar
merlwiz79
Level 11
Level 11
 
Posts: 3638
Joined: Wed Apr 04, 2007 1:50 pm
Location: Here again :)

Linux Mint is funded by ads and donations.
 

Postby hairy_Palms on Sun Oct 14, 2007 5:15 am

just thought id point out the link in the first post is broken, but if you just go to the daryana you can get 1.4 thru http
User avatar
hairy_Palms
Level 4
Level 4
 
Posts: 297
Joined: Mon Nov 27, 2006 10:46 am

Postby hairy_Palms on Sun Oct 14, 2007 10:21 am

ive been hacking around the interface today, to try and make it look neater, heres what ive come up with

Image

heres the updated glade file and mintUpdate.py

http://rapidshare.com/files/62499787/mintupdate.tar.bz2.html

the python changes are pretty minimal it can be summed up as

Code: Select all
def force_refresh(widget, treeview, statusIcon, wTree):
   #start of edits
   # this is just to ensure the Select/unselect button works after the refresh which autoselects all
   global toggle
   toggle = 1
   wTree.get_widget("selection_label").set_text(_("Unselect All"))
   #end of edits
   refresh = RefreshThread(treeview, statusIcon, wTree)
   refresh.start()
   
   

#Start of Edits

#Ive Redefined clear to encompass select_all and the old clear with an if statement
def clear(widget, treeView):
   global toggle
   if (toggle == 1):
      #def clear(widget, treeView):
      model = treeView.get_model()
      iter = model.get_iter_first()
      while (iter != None):
         model.set_value(iter, 0, "false")
         iter = model.iter_next(iter)
      wTree.get_widget("selection_label").set_text(_("Select All"))
      toggle = 0
   else:
      #def select_all(widget, treeView):
      model = treeView.get_model()
      iter = model.get_iter_first()
      while (iter != None):
         model.set_value(iter, 0, "true")
         iter = model.iter_next(iter)
      wTree.get_widget("selection_label").set_text(_("Unselect All"))
      toggle = 1
#End of edits


the code is only there because i thought having a clear and select all button looked cluttered. tell me what you think clem :)
User avatar
hairy_Palms
Level 4
Level 4
 
Posts: 297
Joined: Mon Nov 27, 2006 10:46 am

Postby clem on Tue Oct 16, 2007 6:57 am

Hi Hairy Palms,

I like what you've done with the GUI but I like the one we already have a little bit better. The Clear button is one of my favorites, the first button I click on actually... cause I usually clear, then select things I want, one by one.

Clem
Image
User avatar
clem
Level 14
Level 14
 
Posts: 5393
Joined: Wed Nov 15, 2006 8:34 am

Postby hairy_Palms on Tue Oct 16, 2007 12:41 pm

ah ok np :) the unselect all button still has the same function as the clear button tho,
one thing i thought i might report, when you select the changelog tab, the program hangs for a 3-4 seconds, i wonder if there might be a way to resolve this by threading out the aptitude command.
User avatar
hairy_Palms
Level 4
Level 4
 
Posts: 297
Joined: Mon Nov 27, 2006 10:46 am

mint update

Postby klaeje on Wed Nov 14, 2007 7:17 am

the link to upgrade doesn't work! :oops:
is there another way to do this?
User avatar
klaeje
Level 1
Level 1
 
Posts: 29
Joined: Wed Nov 14, 2007 7:06 am
Location: Izegem-Belgium

Previous

Return to Releases & Announcements

Who is online

Users browsing this forum: No registered users and 1 guest