emesene forum
July 31, 2010, 01:09:03 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: CACHE KEY ERRORS? NICK NOT SAVED? UPGRADE TO 1.6.2 FIRST!

REPORT ANY ISSUE HERE - PLEASE CHECK IF THE PROBLEM HAS ALREADY BEEN REPORTED FIRST -- THANKS
 
  Home   Forum   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: [ENHANCEMENT] New show method for the D-Bus plugin  (Read 299 times)
karasu
Hero Member
*****

l33tness: 4
Offline Offline

Posts: 285


Noein

gustaucastells@hotmail.com
View Profile WWW
« on: February 26, 2010, 06:14:41 PM »

Hi!

I added a little method called "show" that when called de-minimizes and de-iconifizes (this word exists?) emesene main window and all opened conversation windows.

I use it when I call a second instance of emesene but I only want one at a time, this way I can show that a instance is already running to the user.

I got the idea from the Sonata player (a client for MPD, http://sonata.berlios.de).

I also changed the imports part. I changed the way D-Bus is imported and also added an import gtk (I hope there's no problem with this).

Oh! This is barely important but I changed the plugin's name from "Dbus" to "D-Bus", this is how it's called in the freedesktop site (http://www.freedesktop.org/wiki/Software/dbus)

I attach the diff.

Thanks!
« Last Edit: February 26, 2010, 08:23:08 PM by karasu » Logged

I a vegades... els ocells fan cagarades...
arielj
Administrator
Hero Member
*****

l33tness: 30
Offline Offline

Posts: 1362


globitz!


View Profile Email
« Reply #1 on: February 26, 2010, 07:13:26 PM »

Hi, there's no diff. I can use that, but a diff is better to see what was changed. The gtk import is not a problem, it's not a new dependency Tongue.
Logged
karasu
Hero Member
*****

l33tness: 4
Offline Offline

Posts: 285


Noein

gustaucastells@hotmail.com
View Profile WWW
« Reply #2 on: February 26, 2010, 08:21:06 PM »

wtf... sorry, I choosed the wrong file...

Here it is.
Logged

I a vegades... els ocells fan cagarades...
arielj
Administrator
Hero Member
*****

l33tness: 30
Offline Offline

Posts: 1362


globitz!


View Profile Email
« Reply #3 on: February 26, 2010, 09:27:31 PM »

ok, applied, thanks
Logged
Pages: [1]
  Print  
 
Jump to:  

TinyPortal v.1.0.6 beta 2 © Bloc
Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!