------------------------------------------------------------
revno: 371
committer: Razzloss <[email protected]>
branch nick: master
timestamp: Sun 2010-05-23 23:08:42 +0300
message:
3rd attempt to fix the favorite users icon
modified:
linux/favoriteusers.hh
linux/mainwindow.cc
--
lp:linuxdcpp
https://code.launchpad.net/~linuxdcpp-team/linuxdcpp/trunk
Your team LinuxDC++ Team is subscribed to branch lp:linuxdcpp.
To unsubscribe from this branch go to
https://code.launchpad.net/~linuxdcpp-team/linuxdcpp/trunk/+edit-subscription
=== modified file 'linux/favoriteusers.hh'
--- linux/favoriteusers.hh 2010-05-22 14:23:56 +0000
+++ linux/favoriteusers.hh 2010-05-23 20:08:42 +0000
@@ -73,6 +73,7 @@
// Favorite callbacks
virtual void on(dcpp::FavoriteManagerListener::UserAdded, const dcpp::FavoriteUser &user) throw();
virtual void on(dcpp::FavoriteManagerListener::UserRemoved, const dcpp::FavoriteUser &user) throw();
+ // TODO: The following on is missing from the dcpp/ (or its signature is different ::StatusChanged, const UserPtr&)
virtual void on(dcpp::FavoriteManagerListener::StatusChanged, const dcpp::FavoriteUser &user) throw();
UserIters userIters;
=== modified file 'linux/mainwindow.cc'
--- linux/mainwindow.cc 2010-05-22 14:23:56 +0000
+++ linux/mainwindow.cc 2010-05-23 20:08:42 +0000
@@ -291,6 +291,7 @@
// Reset the stock IDs manually to force the icon to refresh
gtk_tool_button_set_stock_id(GTK_TOOL_BUTTON(getWidget("favHubs")), "linuxdcpp-favorite-hubs");
+ gtk_tool_button_set_stock_id(GTK_TOOL_BUTTON(getWidget("favUsers")), "linuxdcpp-favorite-users");
gtk_tool_button_set_stock_id(GTK_TOOL_BUTTON(getWidget("publicHubs")), "linuxdcpp-public-hubs");
gtk_tool_button_set_stock_id(GTK_TOOL_BUTTON(getWidget("settings")), "linuxdcpp-preferences");
gtk_tool_button_set_stock_id(GTK_TOOL_BUTTON(getWidget("hash")), "linuxdcpp-hash");
_______________________________________________
Mailing list: https://launchpad.net/~linuxdcpp-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~linuxdcpp-team
More help : https://help.launchpad.net/ListHelp