Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
241c4065
Commit
241c4065
authored
13 years ago
by
Tristan Matthews
Browse files
Options
Downloads
Patches
Plain Diff
gnome: cleanup
parent
f7a6a712
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
gnome/src/config/addressbook-config.h
+0
-13
0 additions, 13 deletions
gnome/src/config/addressbook-config.h
gnome/src/uimanager.c
+8
-2
8 additions, 2 deletions
gnome/src/uimanager.c
with
8 additions
and
15 deletions
gnome/src/config/addressbook-config.h
+
0
−
13
View file @
241c4065
...
...
@@ -46,19 +46,6 @@ G_BEGIN_DECLS
#define ADDRESSBOOK_DISPLAY_PHONE_BUSINESS "ADDRESSBOOK_DISPLAY_PHONE_BUSINESS"
#define ADDRESSBOOK_DISPLAY_PHONE_HOME "ADDRESSBOOK_DISPLAY_PHONE_HOME"
#define ADDRESSBOOK_DISPLAY_PHONE_MOBILE "ADDRESSBOOK_DISPLAY_PHONE_MOBILE"
/*
typedef struct _AddressBook_Config {
// gint64: a signed integer guaranteed to be 64 bits on all platforms
// To print or scan values of this type, use G_GINT64_MODIFIER and/or G_GINT64_FORMAT
gint enable;
gint max_results;
gint display_contact_photo;
gint search_phone_home;
gint search_phone_business;
gint search_phone_mobile;
} AddressBook_Config;
*/
/**
* Save the parameters through D-BUS
...
...
This diff is collapsed.
Click to expand it.
gnome/src/uimanager.c
+
8
−
2
View file @
241c4065
...
...
@@ -103,6 +103,12 @@ remove_from_toolbar(GtkWidget *widget)
gtk_container_remove
(
GTK_CONTAINER
(
toolbar_
),
widget
);
}
static
bool
is_non_empty_string
(
const
char
*
str
)
{
return
str
&&
strlen
(
str
)
>
0
;
}
void
update_actions
()
{
...
...
@@ -245,7 +251,7 @@ update_actions()
if
(
active_calltree_tab
==
current_calls_tab
)
gtk_toolbar_insert
(
GTK_TOOLBAR
(
toolbar_
),
GTK_TOOL_ITEM
(
hangUpWidget_
),
1
);
else
if
(
active_calltree_tab
==
history_tab
)
{
if
(
selectedCall
->
_recordfile
&&
strlen
(
selectedCall
->
_recordfile
)
>
0
)
{
if
(
is_non_empty_string
(
selectedCall
->
_recordfile
))
{
if
(
selectedCall
->
_record_is_playing
)
gtk_toolbar_insert
(
GTK_TOOLBAR
(
toolbar_
),
GTK_TOOL_ITEM
(
stopRecordWidget_
),
3
);
else
...
...
@@ -355,7 +361,7 @@ update_actions()
gtk_toolbar_insert
(
GTK_TOOLBAR
(
toolbar_
),
GTK_TOOL_ITEM
(
imToolbar_
),
pos
);
}
}
else
if
(
active_calltree_tab
==
history_tab
)
{
if
(
selectedConf
->
_recordfile
&&
strlen
(
selectedConf
->
_recordfile
)
>
0
)
{
if
(
is_non_empty_string
(
selectedConf
->
_recordfile
))
{
if
(
selectedConf
->
_record_is_playing
)
gtk_toolbar_insert
(
GTK_TOOLBAR
(
toolbar_
),
GTK_TOOL_ITEM
(
stopRecordWidget_
),
3
);
else
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment