switch to GtklLabel for statusbar buttons + remove non nedded resize-grip code

- fixes the large statusbar with GTK3
- remove extra resize-grip code, which is handle by gtk+ itself
GTK2 builds displays the resize-grip without the extra code.
Since GTK+-3.14 the rezise-grip widget is removed.
- the size of the statusbar is now themable
This commit is contained in:
raveit65
2015-05-16 22:05:55 +02:00
parent 42f9f19d30
commit e1b2a4e298
3 changed files with 35 additions and 144 deletions

View File

@@ -81,18 +81,6 @@ void pluma_statusbar_flash_message (PlumaStatusbar *statusbar,
guint context_id,
const gchar *format,
...) G_GNUC_PRINTF(3, 4);
/* FIXME: these would be nice for plugins...
void pluma_statusbar_add_widget (PlumaStatusbar *statusbar,
GtkWidget *widget);
void pluma_statusbar_remove_widget (PlumaStatusbar *statusbar,
GtkWidget *widget);
*/
/*
* Non exported functions
*/
void _pluma_statusbar_set_has_resize_grip (PlumaStatusbar *statusbar,
gboolean show);
G_END_DECLS